/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_tex.c | 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local 55 if (texUnit->_ReallyEnabled) {
|
H A D | brw_wm_sampler_state.c | 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 88 struct gl_texture_object *texObj = texUnit->_Current; 166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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/ |
H A D | brw_tex.c | 53 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local 55 if (texUnit->_ReallyEnabled) {
|
H A D | brw_wm_sampler_state.c | 87 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 88 struct gl_texture_object *texObj = texUnit->_Current; 166 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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/ |
H A D | texstate.c | 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; local 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 291 const GLuint texUnit = texture - GL_TEXTURE0; local 331 GLuint texUnit = texture - GL_TEXTURE0; local 389 update_tex_combine(struct gl_context *ctx, struct gl_texture_unit *texUnit) argument 534 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 642 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 750 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 870 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local [all...] |
H A D | 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 49 set_env_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum mode) argument 89 set_env_color(struct gl_context *ctx, struct gl_texture_unit *texUnit, const GLfloat *color) argument 106 set_combiner_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum mode) argument 177 set_combiner_source(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument 267 set_combiner_operand(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument 348 set_combiner_scale(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLfloat scale) argument 393 struct gl_texture_unit *texUnit; local 573 get_texenvi(struct gl_context *ctx, const struct gl_texture_unit *texUnit, GLenum pname) argument 668 const struct gl_texture_unit *texUnit; local 732 const struct gl_texture_unit *texUnit; local 827 struct gl_texture_unit *texUnit; local 859 const struct gl_texture_unit *texUnit; local 911 const struct gl_texture_unit *texUnit; local [all...] |
H A D | texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, argument 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; local 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord); 299 struct gl_texture_unit *texUnit; local 337 struct gl_texture_unit *texUnit; local 383 struct gl_texture_unit *texUnit; local [all...] |
H A D | enable.c | 240 struct gl_texture_unit *texUnit = _mesa_get_current_tex_unit(ctx); local 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); local 696 if (texUnit) { 698 GLbitfield newenabled = texUnit->TexGenEnabled & ~coordBit; 701 if (texUnit->TexGenEnabled == newenabled) 704 texUnit 713 struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local 1210 const struct gl_texture_unit *const texUnit = local 1429 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local 1443 const struct gl_texture_unit *texUnit = get_texcoord_unit(ctx); local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texstate.c | 124 const struct gl_texture_unit *texUnit = ctx->Texture.Unit + unit; local 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 291 const GLuint texUnit = texture - GL_TEXTURE0; local 331 GLuint texUnit = texture - GL_TEXTURE0; local 389 update_tex_combine(struct gl_context *ctx, struct gl_texture_unit *texUnit) argument 534 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 642 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 750 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 870 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u]; local [all...] |
H A D | 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 49 set_env_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum mode) argument 89 set_env_color(struct gl_context *ctx, struct gl_texture_unit *texUnit, const GLfloat *color) argument 106 set_combiner_mode(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum mode) argument 177 set_combiner_source(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument 267 set_combiner_operand(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument 348 set_combiner_scale(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLfloat scale) argument 393 struct gl_texture_unit *texUnit; local 573 get_texenvi(struct gl_context *ctx, const struct gl_texture_unit *texUnit, GLenum pname) argument 668 const struct gl_texture_unit *texUnit; local 732 const struct gl_texture_unit *texUnit; local 827 struct gl_texture_unit *texUnit; local 859 const struct gl_texture_unit *texUnit; local 911 const struct gl_texture_unit *texUnit; local [all...] |
H A D | texgen.c | 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit, argument 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; local 94 texUnit = _mesa_get_current_tex_unit(ctx); 96 texgen = get_texgen(ctx, texUnit, coord); 299 struct gl_texture_unit *texUnit; local 337 struct gl_texture_unit *texUnit; local 383 struct gl_texture_unit *texUnit; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_texgen.c | 342 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 ); 400 if (texUnit 494 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local 518 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local [all...] |
H A D | t_rasterpos.c | 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_texgen.c | 342 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 ); 400 if (texUnit 494 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local 518 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i]; local [all...] |
H A D | t_rasterpos.c | 262 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texstate.c | 266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 608 struct gl_texture_unit *texUnit; local 864 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_texstate.c | 266 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 608 struct gl_texture_unit *texUnit; local 864 struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_texstate.c | 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 731 struct gl_texture_unit *texUnit; local 868 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[j]; local 1183 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_texstate.c | 306 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local 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 731 struct gl_texture_unit *texUnit; local 868 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[j]; local 1183 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; local [all...] |
/external/deqp/framework/opengl/ |
H A D | gluStrUtil.hpp | 52 deUint32 texUnit; member in class:glu::detail::TextureUnitStr 53 TextureUnitStr (deUint32 texUnit_) : texUnit(texUnit_) {}
|
H A D | gluStrUtil.cpp | 53 int unitNdx = unitStr.texUnit - GL_TEXTURE0; 57 return str << tcu::toHex(unitStr.texUnit);
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | 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]; local 234 convert_sampler(st, sampler, texUnit); 127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument
|
H A D | 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]; local 283 retval = update_single_texture(st, &sampler_view, texUnit); 401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; local 403 = ctx->Texture.Unit[texUnit]._Current; 188 update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit) argument
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | 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]; local 234 convert_sampler(st, sampler, texUnit); 127 convert_sampler(struct st_context *st, struct pipe_sampler_state *sampler, GLuint texUnit) argument
|
H A D | 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]; local 283 retval = update_single_texture(st, &sampler_view, texUnit); 401 const GLuint texUnit = fprog->Base.SamplerUnits[su]; local 403 = ctx->Texture.Unit[texUnit]._Current; 188 update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_view, GLuint texUnit) argument
|