/third_party/mesa3d/src/mesa/main/ |
D | texgen.c | 308 texgenfv(ctx->Texture.CurrentUnit, coord, pname, params, "glTexGenfv"); in _mesa_TexGenfv() 333 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGeniv"); in _mesa_TexGeniv() 360 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGend"); in _mesa_TexGend() 388 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGendv"); in _mesa_TexGendv() 416 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGenf"); in _mesa_TexGenf() 454 gettexgendv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGendv"); in _mesa_GetTexGendv() 469 gettexgenfv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGenfv"); in _mesa_GetTexGenfv() 484 gettexgeniv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGeniv"); in _mesa_GetTexGeniv()
|
D | matrix.c | 67 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_named_matrix_stack() 70 ctx->Texture.CurrentUnit); in get_named_matrix_stack() 74 assert(ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->TextureMatrixStack)); in get_named_matrix_stack() 75 return &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in get_named_matrix_stack() 301 func, ctx->Texture.CurrentUnit); in push_matrix() 414 ctx->Texture.CurrentUnit); in _mesa_PopMatrix() 437 ctx->Texture.CurrentUnit); in _mesa_MatrixPopEXT()
|
D | get.c | 744 unit = ctx->Texture.CurrentUnit; in find_custom_value() 752 unit = ctx->Texture.CurrentUnit; in find_custom_value() 786 unit = ctx->Texture.CurrentUnit; in find_custom_value() 790 unit = ctx->Texture.CurrentUnit; in find_custom_value() 839 v->value_int = GL_TEXTURE0_ARB + ctx->Texture.CurrentUnit; in find_custom_value() 967 unit = ctx->Texture.CurrentUnit; in find_custom_value() 1160 unit = ctx->Texture.CurrentUnit; in find_custom_value() 1167 ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value() 1173 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value() 1181 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler; in find_custom_value() [all …]
|
D | texstate.h | 54 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit()
|
D | texstate.c | 76 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state() 304 if (ctx->Texture.CurrentUnit == texUnit) in active_texture() 332 ctx->Texture.CurrentUnit = texUnit; in active_texture() 1033 ctx->Texture.CurrentUnit = 0; /* multitexture */ in _mesa_init_texture()
|
D | texparam.c | 1207 ctx->Texture.CurrentUnit, in _mesa_TexParameterf() 1223 ctx->Texture.CurrentUnit, in _mesa_TexParameterfv() 1239 ctx->Texture.CurrentUnit, in _mesa_TexParameteri() 1255 ctx->Texture.CurrentUnit, in _mesa_TexParameteriv() 1276 ctx->Texture.CurrentUnit, in _mesa_TexParameterIiv() 1297 ctx->Texture.CurrentUnit, in _mesa_TexParameterIuiv() 2076 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in get_tex_level_parameteriv() 2847 ctx->Texture.CurrentUnit, in _mesa_GetTexParameterfv() 2863 ctx->Texture.CurrentUnit, in _mesa_GetTexParameteriv() 2880 ctx->Texture.CurrentUnit, in _mesa_GetTexParameterIiv() [all …]
|
D | attrib.c | 260 head->Texture.CurrentUnit = ctx->Texture.CurrentUnit; in _mesa_PushAttrib() 491 const unsigned curTexUnitSave = ctx->Texture.CurrentUnit; in pop_enable_group() 504 ctx->Texture.CurrentUnit = i; in pop_enable_group() 526 ctx->Texture.CurrentUnit = curTexUnitSave; in pop_enable_group() 547 ctx->Texture.CurrentUnit = u; in pop_texture_group() 561 ctx->Texture.CurrentUnit = u; in pop_texture_group() 608 ctx->Texture.CurrentUnit = u; in pop_texture_group() 638 _mesa_ActiveTexture(GL_TEXTURE0_ARB + texstate->CurrentUnit); in pop_texture_group()
|
D | texenv.c | 515 _mesa_texenvfv_indexed(ctx, ctx->Texture.CurrentUnit, target, pname, param); in _mesa_TexEnvfv() 851 _mesa_gettexenvfv_indexed(ctx->Texture.CurrentUnit, target, pname, params); in _mesa_GetTexEnvfv() 867 _mesa_gettexenviv_indexed(ctx->Texture.CurrentUnit, target, pname, params); in _mesa_GetTexEnviv()
|
D | enable.c | 306 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit() 311 return &ctx->Texture.FixedFuncUnit[ctx->Texture.CurrentUnit]; in get_texcoord_unit() 325 _mesa_get_fixedfunc_tex_unit(ctx, ctx->Texture.CurrentUnit); in enable_texture() 1417 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_set_enablei() 1488 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_IsEnabledi() 1516 _mesa_get_fixedfunc_tex_unit(ctx, ctx->Texture.CurrentUnit); in is_texture_enabled()
|
D | eval.c | 338 if (ctx->Texture.CurrentUnit != 0) { in map1() 432 if (ctx->Texture.CurrentUnit != 0) { in map2()
|
D | mtypes.h | 1301 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member 3193 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member
|
D | texobj.c | 1749 bind_texture(ctx, target, texName, ctx->Texture.CurrentUnit, true, in _mesa_BindTexture_no_error() 1763 bind_texture(ctx, target, texName, ctx->Texture.CurrentUnit, false, in _mesa_BindTexture()
|