/external/mesa3d/src/mesa/main/ |
H A D | attrib.c | 630 /* texture unit enables */ 681 const struct gl_texture_unit *unit = &texstate->Texture.Unit[u]; local 685 _mesa_set_enable(ctx, GL_TEXTURE_1D, !!(unit->Enabled & TEXTURE_1D_BIT)); 686 _mesa_set_enable(ctx, GL_TEXTURE_2D, !!(unit->Enabled & TEXTURE_2D_BIT)); 687 _mesa_set_enable(ctx, GL_TEXTURE_3D, !!(unit->Enabled & TEXTURE_3D_BIT)); 690 !!(unit->Enabled & TEXTURE_CUBE_BIT)); 694 !!(unit->Enabled & TEXTURE_RECT_BIT)); 698 !!(unit->Enabled & TEXTURE_1D_ARRAY_BIT)); 700 !!(unit->Enabled & TEXTURE_2D_ARRAY_BIT)); 703 _mesa_TexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, unit [all...] |
H A D | dlist.c | 7352 save_BindSampler(GLuint unit, GLuint sampler) argument 7359 n[1].ui = unit; 7363 CALL_BindSampler(ctx->Exec, (unit, sampler));
|
H A D | ff_fragment_shader.cpp | 129 } unit[MAX_TEXTURE_UNITS]; member in struct:state_key 441 key->unit[i].enabled = 1; 446 key->unit[i].source_index = 449 key->unit[i].shadow = 454 key->unit[i].NumArgsRGB = comb->_NumArgsRGB; 455 key->unit[i].NumArgsA = comb->_NumArgsA; 457 key->unit[i].ModeRGB = 459 key->unit[i].ModeA = 462 key->unit[i].ScaleShiftRGB = comb->ScaleShiftRGB; 463 key->unit[ 567 get_source(struct texenv_fragment_program *p, GLuint src, GLuint unit) argument 618 emit_combine_source(struct texenv_fragment_program *p, GLuint unit, GLuint source, GLuint operand) argument 702 emit_combine(struct texenv_fragment_program *p, GLuint unit, GLuint nr, GLuint mode, const struct mode_opt *opt) argument 783 emit_texenv(struct texenv_fragment_program *p, GLuint unit) argument 1042 load_texenv_source(struct texenv_fragment_program *p, GLuint src, GLuint unit) argument 1220 GLuint unit; local 1289 unsigned int unit; local [all...] |
H A D | ffvertex_prog.c | 86 } unit[NUM_UNITS]; member in struct:state_key 191 key->unit[i].light_enabled = 1; 194 key->unit[i].light_eyepos3_is_zero = 1; 197 key->unit[i].light_spotcutoff_is_180 = 1; 202 key->unit[i].light_attenuated = 1; 246 key->unit[i].texunit_really_enabled = 1; 250 key->unit[i].coord_replace = 1; 253 key->unit[i].texmat_enabled = 1; 256 key->unit[i].texgen_enabled = 1; 258 key->unit[ [all...] |
H A D | get.c | 51 * unit, or maybe it's a computed value. So we need to also track 1505 GLuint unit, *p; local 1533 unit = ctx->Texture.CurrentUnit; 1534 v->value_float_4[0] = ctx->Current.RasterTexCoords[unit][0]; 1535 v->value_float_4[1] = ctx->Current.RasterTexCoords[unit][1]; 1536 v->value_float_4[2] = ctx->Current.RasterTexCoords[unit][2]; 1537 v->value_float_4[3] = ctx->Current.RasterTexCoords[unit][3]; 1541 unit = ctx->Texture.CurrentUnit; 1542 v->value_float_4[0] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][0]; 1543 v->value_float_4[1] = ctx->Current.Attrib[VERT_ATTRIB_TEX0 + unit][ 2000 struct gl_texture_unit *unit; local [all...] |
H A D | mtypes.h | 1361 /** Tex-gen enabled for texture unit? */ 1362 #define ENABLE_TEXGEN(unit) (1 << (unit)) 1364 /** Non-identity texture matrix for texture unit? */ 1365 #define ENABLE_TEXMAT(unit) (1 << (unit)) 1381 * Texture unit state. Contains enable flags, texture environment/function/ 1953 /** Map from sampler unit to texture unit (set by glUniform1i()) */ 2385 * Map from sampler unit t [all...] |
H A D | samplerobj.c | 245 _mesa_BindSampler(GLuint unit, GLuint sampler) argument 250 if (unit >= ctx->Const.MaxCombinedTextureImageUnits) { 251 _mesa_error(ctx, GL_INVALID_VALUE, "glBindSampler(unit %u)", unit); 270 if (ctx->Texture.Unit[unit].Sampler != sampObj) { 275 _mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[unit].Sampler,
|
H A D | samplerobj.h | 32 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit) argument 34 if (ctx->Texture.Unit[unit].Sampler) 35 return ctx->Texture.Unit[unit].Sampler; 36 else if (ctx->Texture.Unit[unit]._Current) 37 return &ctx->Texture.Unit[unit]._Current->Sampler; 83 _mesa_BindSampler(GLuint unit, GLuint sampler);
|
H A D | texobj.c | 1041 struct gl_texture_unit *unit = &ctx->Texture.Unit[u]; local 1043 if (texObj == unit->CurrentTex[tex]) { 1044 _mesa_reference_texobj(&unit->CurrentTex[tex], 1046 ASSERT(unit->CurrentTex[tex]); 1063 * texture unit, unbind the texture first. Decrement the reference
|
H A D | texstate.c | 79 /* per-unit state */ 122 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit ) 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 125 printf("Texture Unit %d\n", unit); 160 * texture unit. 386 * Examine texture unit's combine/env state to update derived state. 495 GLuint unit; local 531 * Update texture unit state. 533 for (unit = 0; unit < ct [all...] |
H A D | texstate.h | 40 * Return pointer to current texture unit. 41 * This the texture unit set by glActiveTexture(), not glClientActiveTexture(). 55 _mesa_print_texunit_state( struct gl_context *ctx, GLuint unit );
|
H A D | uniform_query.cpp | 694 * "Setting a sampler's value to i selects texture image unit number 715 /* check that the sampler (tex unit index) is legal */ 718 "glUniform1i(invalid sampler/tex unit index for " 1058 const unsigned unit = storage->storage[j].i; local 1061 * unit must be an exact match. Page 74 (page 89 of the PDF) of the 1065 * types pointing to the same texture image unit within a program 1068 if (unit_types[unit] == NULL) { 1069 unit_types[unit] = t; 1070 } else if (unit_types[unit] != t) { 1072 "Texture unit [all...] |
H A D | uniforms.c | 53 * particular texture unit. We know the sampler's texture target 54 * (1D/2D/3D/etc) from compile time but the sampler's texture unit is 59 * Each value of TexturesUsed[unit] is one of zero, TEXTURE_1D_INDEX, 74 GLuint unit = shProg->SamplerUnits[s]; local 76 assert(unit < Elements(prog->TexturesUsed)); 78 prog->TexturesUsed[unit] |= (1 << tgt);
|
H A D | varray.c | 390 const GLuint unit = ctx->Array.ActiveTexture; local 393 update_array(ctx, "glTexCoordPointer", VERT_ATTRIB_TEX(unit),
|
/external/llvm/unittests/ |
H A D | Makefile.unittest | 10 # This file is included by all of the unit test makefiles. 28 # Set up variables for building a unit test. 58 $(Echo) Linking $(BuildMode) unit test $(TESTNAME) $(StripWarnMsg)
|
/external/ltrace/sysdeps/linux-gnu/metag/ |
H A D | trace.c | 38 /* unit codes */ 109 /* 2-bit base unit (BU) mapping. */ 118 get_regval_from_unit(enum metag_unitnum unit, unsigned int reg, argument 126 if ((unit == METAG_UNIT_A0) || (unit == METAG_UNIT_A1)) { 129 } else if ((unit == METAG_UNIT_D0) || (unit == METAG_UNIT_D1)) { 134 switch(unit) { 145 assert(unit != unit); 163 unsigned int unit = 0, reg; local [all...] |
/external/llvm/test/ |
H A D | Makefile | 152 @$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > unit.tmp 153 @$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> unit.tmp 154 @$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> unit.tmp 155 @$(ECHOPATH) s=@LLVM_BUILD_MODE@=$(BuildMode)=g >> unit.tmp 156 @$(ECHOPATH) s=@ENABLE_SHARED@=$(ENABLE_SHARED)=g >> unit.tmp 157 @$(ECHOPATH) s=@SHLIBDIR@=$(SharedLibDir)=g >> unit.tmp 158 @$(ECHOPATH) s=@HOST_OS@=$(HOST_OS)=g >> unit.tmp 160 @sed -f unit.tmp $(PROJ_SRC_DIR)/Unit/lit.site.cfg.in > $@ 161 @-rm -f unit.tmp
|
/external/llvm/test/Bindings/Ocaml/ |
H A D | ipo_opts.ml | 21 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | irreader.ml | 18 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | linker.ml | 19 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | passmgr_builder.ml | 19 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | scalar_opts.ml | 20 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | target.ml | 23 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | vectorize_opts.ml | 20 (* Tiny unit test framework - really just to help find which line is busted *)
|
H A D | vmcore.ml | 21 (* Tiny unit test framework - really just to help find which line is busted *)
|