/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_tex.c | 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; 55 if (texUnit->_ReallyEnabled) {
|
brw_wm_sampler_state.c | 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 88 struct gl_texture_object *texObj = texUnit->_Current; 166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 167 struct gl_texture_object *texObj = texUnit->_Current; 279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_tex.c | 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; 55 if (texUnit->_ReallyEnabled) {
|
brw_wm_sampler_state.c | 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 88 struct gl_texture_object *texObj = texUnit->_Current; 166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 167 struct gl_texture_object *texObj = texUnit->_Current; 279 sampler->ss0.lod_bias = S_FIXED(CLAMP(texUnit->LodBias +
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texstate.c | 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 126 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_lookup_enum_by_nr(texUnit->EnvMode)); 127 printf(" GL_COMBINE_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeRGB)); 128 printf(" GL_COMBINE_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeA)); 129 printf(" GL_SOURCE0_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[0])); 130 printf(" GL_SOURCE1_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[1])); 131 printf(" GL_SOURCE2_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[2])); 132 printf(" GL_SOURCE0_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[0])); 133 printf(" GL_SOURCE1_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[1])); 134 printf(" GL_SOURCE2_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[2])) [all...] |
texenv.c | 50 struct gl_texture_unit *texUnit, 55 if (texUnit->EnvMode == mode) 80 texUnit->EnvMode = mode; 90 struct gl_texture_unit *texUnit, 93 if (TEST_EQ_4V(color, texUnit->EnvColorUnclamped)) 96 COPY_4FV(texUnit->EnvColorUnclamped, color); 97 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F); 98 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F); 99 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F); 100 texUnit->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F) [all...] |
texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, 56 ? &texUnit->GenS : NULL; 61 return &texUnit->GenS; 63 return &texUnit->GenT; 65 return &texUnit->GenR; 67 return &texUnit->GenQ; 77 struct gl_texture_unit *texUnit; 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord); 299 struct gl_texture_unit *texUnit; [all...] |
enable.c | 240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); 242 ? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit); 244 if (texUnit->Enabled == newenabled) 248 texUnit->Enabled = newenabled; 691 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); 696 if (texUnit) { 698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit; 701 if (texUnit->TexGenEnabled == newenabled) 704 texUnit->TexGenEnabled = newenabled [all...] |
/external/mesa3d/src/mesa/main/ |
texstate.c | 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; 126 printf(" GL_TEXTURE_ENV_MODE = %s\n", _mesa_lookup_enum_by_nr(texUnit->EnvMode)); 127 printf(" GL_COMBINE_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeRGB)); 128 printf(" GL_COMBINE_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.ModeA)); 129 printf(" GL_SOURCE0_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[0])); 130 printf(" GL_SOURCE1_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[1])); 131 printf(" GL_SOURCE2_RGB = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceRGB[2])); 132 printf(" GL_SOURCE0_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[0])); 133 printf(" GL_SOURCE1_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[1])); 134 printf(" GL_SOURCE2_ALPHA = %s\n", _mesa_lookup_enum_by_nr(texUnit->Combine.SourceA[2])) [all...] |
texenv.c | 50 struct gl_texture_unit *texUnit, 55 if (texUnit->EnvMode == mode) 80 texUnit->EnvMode = mode; 90 struct gl_texture_unit *texUnit, 93 if (TEST_EQ_4V(color, texUnit->EnvColorUnclamped)) 96 COPY_4FV(texUnit->EnvColorUnclamped, color); 97 texUnit->EnvColor[0] = CLAMP(color[0], 0.0F, 1.0F); 98 texUnit->EnvColor[1] = CLAMP(color[1], 0.0F, 1.0F); 99 texUnit->EnvColor[2] = CLAMP(color[2], 0.0F, 1.0F); 100 texUnit->EnvColor[3] = CLAMP(color[3], 0.0F, 1.0F) [all...] |
texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, 56 ? &texUnit->GenS : NULL; 61 return &texUnit->GenS; 63 return &texUnit->GenT; 65 return &texUnit->GenR; 67 return &texUnit->GenQ; 77 struct gl_texture_unit *texUnit; 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord); 299 struct gl_texture_unit *texUnit; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_texgen.c | 64 /* Per-texunit derived state. 342 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 352 if (texUnit->_GenFlags & TEXGEN_NEED_M) { 354 } else if (texUnit->_GenFlags & TEXGEN_NEED_F) { 360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled; 363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled); 367 if (texUnit->TexGenEnabled & S_BIT) { 369 switch (texUnit->GenS.Mode) { 373 texUnit->GenS.ObjectPlane ); 378 texUnit->GenS.EyePlane ) [all...] |
t_rasterpos.c | 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 278 if (texUnit->TexGenEnabled & S_BIT) { 279 switch (texUnit->GenS.Mode) { 281 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane); 284 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane); 301 if (texUnit->TexGenEnabled & T_BIT) { 302 switch (texUnit->GenT.Mode) { 304 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); 307 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); 324 if (texUnit->TexGenEnabled & R_BIT) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_texgen.c | 64 /* Per-texunit derived state. 342 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 352 if (texUnit->_GenFlags & TEXGEN_NEED_M) { 354 } else if (texUnit->_GenFlags & TEXGEN_NEED_F) { 360 out->flags |= (in->flags & VEC_SIZE_FLAGS) | texUnit->TexGenEnabled; 363 copy = (all_bits[in->size] & ~texUnit->TexGenEnabled); 367 if (texUnit->TexGenEnabled & S_BIT) { 369 switch (texUnit->GenS.Mode) { 373 texUnit->GenS.ObjectPlane ); 378 texUnit->GenS.EyePlane ) [all...] |
t_rasterpos.c | 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 278 if (texUnit->TexGenEnabled & S_BIT) { 279 switch (texUnit->GenS.Mode) { 281 texcoord[0] = DOT4(vObj, texUnit->GenS.ObjectPlane); 284 texcoord[0] = DOT4(vEye, texUnit->GenS.EyePlane); 301 if (texUnit->TexGenEnabled & T_BIT) { 302 switch (texUnit->GenT.Mode) { 304 texcoord[1] = DOT4(vObj, texUnit->GenT.ObjectPlane); 307 texcoord[1] = DOT4(vEye, texUnit->GenT.EyePlane); 324 if (texUnit->TexGenEnabled & R_BIT) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_texstate.c | 266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 276 /* texUnit->_Current can be NULL if and only if the texture unit is 279 assert( (texUnit->_ReallyEnabled == 0) 280 || (texUnit->_Current != NULL) ); 298 if ( !texUnit->_ReallyEnabled ) { 305 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB; 306 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA; 307 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB; 308 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; 315 const GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_texstate.c | 266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 276 /* texUnit->_Current can be NULL if and only if the texture unit is 279 assert( (texUnit->_ReallyEnabled == 0) 280 || (texUnit->_Current != NULL) ); 298 if ( !texUnit->_ReallyEnabled ) { 305 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB; 306 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA; 307 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB; 308 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; 315 const GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MaterialLoader.java | 73 private int texUnit = 0; 139 textures[texUnit].setImage(loadedTexture.getImage()); 140 textures[texUnit].setMinFilter(loadedTexture.getMinFilter()); 141 textures[texUnit].setKey(loadedTexture.getKey()); 144 textures[texUnit].setWrap(WrapMode.Repeat); 146 textures[texUnit].setName(texName); 149 textures[texUnit].setName(texKey.getName()); 153 textures[texUnit].setImage(PlaceholderAssets.getPlaceholderImage()); 165 textures[texUnit].setWrap(WrapMode.Repeat); 167 textures[texUnit].setWrap(WrapMode.Clamp) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 318 assert( (texUnit->_ReallyEnabled == 0) 319 || (texUnit->_Current != NULL) ); 339 if ( !texUnit->_ReallyEnabled ) { 349 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB; 350 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA; 351 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB; 352 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; 364 GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_texstate.c | 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 315 /* texUnit->_Current can be NULL if and only if the texture unit is 318 assert( (texUnit->_ReallyEnabled == 0) 319 || (texUnit->_Current != NULL) ); 339 if ( !texUnit->_ReallyEnabled ) { 349 const GLuint numColorArgs = texUnit->_CurrentCombine->_NumArgsRGB; 350 const GLuint numAlphaArgs = texUnit->_CurrentCombine->_NumArgsA; 351 GLuint RGBshift = texUnit->_CurrentCombine->ScaleShiftRGB; 352 GLuint Ashift = texUnit->_CurrentCombine->ScaleShiftA; 364 GLint op = texUnit->_CurrentCombine->OperandRGB[i] - GL_SRC_COLOR [all...] |
/sdk/emulator/opengl/tests/ut_renderer/ |
RendererContext.h | 52 bool isTex2DEnable(int texunit) { return m_tex2DEnable[texunit]; } 79 bool getClientState(GLenum cap, int texUnit) { 91 return m_clientStateEnable[4 + texUnit];
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_sampler.c | 129 GLuint texUnit) 135 texobj = ctx->Texture.Unit[texUnit]._Current; 140 msamp = _mesa_get_samplerobj(ctx, texUnit); 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; 232 const GLuint texUnit = prog->SamplerUnits[unit]; 234 convert_sampler(st, sampler, texUnit);
|
st_atom_texture.c | 190 GLuint texUnit) 200 samp = _mesa_get_samplerobj(ctx, texUnit); 202 texObj = ctx->Texture.Unit[texUnit]._Current; 280 const GLuint texUnit = prog->SamplerUnits[unit]; 283 retval = update_single_texture(st, &sampler_view, texUnit); 401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; 403 = ctx->Texture.Unit[texUnit]._Current;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_sampler.c | 129 GLuint texUnit) 135 texobj = ctx->Texture.Unit[texUnit]._Current; 140 msamp = _mesa_get_samplerobj(ctx, texUnit); 154 sampler->lod_bias = ctx->Texture.Unit[texUnit].LodBias + msamp->LodBias; 232 const GLuint texUnit = prog->SamplerUnits[unit]; 234 convert_sampler(st, sampler, texUnit);
|
st_atom_texture.c | 190 GLuint texUnit) 200 samp = _mesa_get_samplerobj(ctx, texUnit); 202 texObj = ctx->Texture.Unit[texUnit]._Current; 280 const GLuint texUnit = prog->SamplerUnits[unit]; 283 retval = update_single_texture(st, &sampler_view, texUnit); 401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; 403 = ctx->Texture.Unit[texUnit]._Current;
|