/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_state.c | 234 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_enable() 235 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_enable() 241 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_enable() 374 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen() 378 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); in nouveau_tex_gen() 389 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_env() 392 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_tex_env() 410 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter() 418 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_tex_parameter()
|
D | nouveau_texture.c | 511 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_teximage() 512 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_teximage() 678 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer() 679 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); in nouveau_set_texbuffer()
|
/third_party/mesa3d/src/mesa/main/ |
D | texgen.c | 309 texgenfv(ctx->Texture.CurrentUnit, coord, pname, params, "glTexGenfv"); in _mesa_TexGenfv() 334 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGeniv"); in _mesa_TexGeniv() 361 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGend"); in _mesa_TexGend() 425 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGendv"); in _mesa_TexGendv() 453 texgenfv(ctx->Texture.CurrentUnit, coord, pname, p, "glTexGenf"); in _mesa_TexGenf() 491 gettexgendv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGendv"); in _mesa_GetTexGendv() 506 gettexgenfv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGenfv"); in _mesa_GetTexGenfv() 521 gettexgeniv(ctx->Texture.CurrentUnit, coord, pname, params, "glGetTexGeniv"); in _mesa_GetTexGeniv()
|
D | matrix.c | 66 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_named_matrix_stack() 69 ctx->Texture.CurrentUnit); in get_named_matrix_stack() 73 assert(ctx->Texture.CurrentUnit < ARRAY_SIZE(ctx->TextureMatrixStack)); in get_named_matrix_stack() 74 return &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; in get_named_matrix_stack() 300 func, ctx->Texture.CurrentUnit); in push_matrix() 413 ctx->Texture.CurrentUnit); in _mesa_PopMatrix() 436 ctx->Texture.CurrentUnit); in _mesa_MatrixPopEXT()
|
D | texstate.h | 54 return _mesa_get_tex_unit(ctx, ctx->Texture.CurrentUnit); in _mesa_get_current_tex_unit()
|
D | get.c | 732 unit = ctx->Texture.CurrentUnit; in find_custom_value() 740 unit = ctx->Texture.CurrentUnit; in find_custom_value() 774 unit = ctx->Texture.CurrentUnit; in find_custom_value() 778 unit = ctx->Texture.CurrentUnit; in find_custom_value() 827 v->value_int = GL_TEXTURE0_ARB + ctx->Texture.CurrentUnit; in find_custom_value() 955 unit = ctx->Texture.CurrentUnit; in find_custom_value() 1140 unit = ctx->Texture.CurrentUnit; in find_custom_value() 1147 ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value() 1153 v->value_int = ctx->Texture.Unit[ctx->Texture.CurrentUnit] in find_custom_value() 1161 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler; in find_custom_value() [all …]
|
D | attrib.c | 259 head->Texture.CurrentUnit = ctx->Texture.CurrentUnit; in _mesa_PushAttrib() 490 const unsigned curTexUnitSave = ctx->Texture.CurrentUnit; in pop_enable_group() 503 ctx->Texture.CurrentUnit = i; in pop_enable_group() 527 ctx->Texture.CurrentUnit = curTexUnitSave; in pop_enable_group() 548 ctx->Texture.CurrentUnit = u; in pop_texture_group() 631 ctx->Texture.CurrentUnit = u; in pop_texture_group() 680 ctx->Texture.CurrentUnit = u; in pop_texture_group() 710 _mesa_ActiveTexture(GL_TEXTURE0_ARB + texstate->CurrentUnit); in pop_texture_group() 1071 unsigned active_texture = ctx->Texture.CurrentUnit; in _mesa_PopAttrib() 1075 ctx->Texture.CurrentUnit = i; in _mesa_PopAttrib() [all …]
|
D | texstate.c | 74 dst->Texture.CurrentUnit = src->Texture.CurrentUnit; in _mesa_copy_texture_state() 302 if (ctx->Texture.CurrentUnit == texUnit) in active_texture() 330 ctx->Texture.CurrentUnit = texUnit; in active_texture() 1031 ctx->Texture.CurrentUnit = 0; /* multitexture */ in _mesa_init_texture()
|
D | texparam.c | 1138 ctx->Texture.CurrentUnit, in _mesa_TexParameterf() 1154 ctx->Texture.CurrentUnit, in _mesa_TexParameterfv() 1170 ctx->Texture.CurrentUnit, in _mesa_TexParameteri() 1186 ctx->Texture.CurrentUnit, in _mesa_TexParameteriv() 1207 ctx->Texture.CurrentUnit, in _mesa_TexParameterIiv() 1228 ctx->Texture.CurrentUnit, in _mesa_TexParameterIuiv() 2006 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) { in get_tex_level_parameteriv() 2741 ctx->Texture.CurrentUnit, in _mesa_GetTexParameterfv() 2757 ctx->Texture.CurrentUnit, in _mesa_GetTexParameteriv() 2774 ctx->Texture.CurrentUnit, in _mesa_GetTexParameterIiv() [all …]
|
D | texenv.c | 537 _mesa_texenvfv_indexed(ctx, ctx->Texture.CurrentUnit, target, pname, param); in _mesa_TexEnvfv() 873 _mesa_gettexenvfv_indexed(ctx->Texture.CurrentUnit, target, pname, params); in _mesa_GetTexEnvfv() 889 _mesa_gettexenviv_indexed(ctx->Texture.CurrentUnit, target, pname, params); in _mesa_GetTexEnviv()
|
D | enable.c | 308 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { in get_texcoord_unit() 313 return &ctx->Texture.FixedFuncUnit[ctx->Texture.CurrentUnit]; in get_texcoord_unit() 327 _mesa_get_fixedfunc_tex_unit(ctx, ctx->Texture.CurrentUnit); in enable_texture() 1451 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_set_enablei() 1522 const GLuint curTexUnitSave = ctx->Texture.CurrentUnit; in _mesa_IsEnabledi() 1550 _mesa_get_fixedfunc_tex_unit(ctx, ctx->Texture.CurrentUnit); in is_texture_enabled()
|
D | eval.c | 337 if (ctx->Texture.CurrentUnit != 0) { in map1() 431 if (ctx->Texture.CurrentUnit != 0) { in map2()
|
D | texobj.c | 1694 bind_texture_object(ctx, ctx->Texture.CurrentUnit, tex_obj); in _mesa_bind_texture() 1802 bind_texture(ctx, target, texName, ctx->Texture.CurrentUnit, true, in _mesa_BindTexture_no_error() 1816 bind_texture(ctx, target, texName, ctx->Texture.CurrentUnit, false, in _mesa_BindTexture()
|
D | mtypes.h | 1264 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member 5114 GLuint CurrentUnit; /**< GL_ACTIVE_TEXTURE */ member
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta_generate_mipmap.c | 200 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in _mesa_meta_GenerateMipmap() 237 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, mipmap->samp_obj); in _mesa_meta_GenerateMipmap() 366 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj_save); in _mesa_meta_GenerateMipmap()
|
D | meta_blit.c | 310 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in _mesa_meta_fb_tex_blit_begin() 353 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, blit->samp_obj_save); in _mesa_meta_fb_tex_blit_end() 393 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj); in setup_sampler()
|
D | meta.c | 653 save->ActiveUnit = ctx->Texture.CurrentUnit; in _mesa_meta_begin() 1074 assert(ctx->Texture.CurrentUnit == 0); in _mesa_meta_end() 3041 ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler); in decompress_texture_image() 3121 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, decompress->samp_obj); in decompress_texture_image() 3215 _mesa_bind_sampler(ctx, ctx->Texture.CurrentUnit, samp_obj_save); in decompress_texture_image()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex.c | 259 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexEnv() 397 GLuint unit = ctx->Texture.CurrentUnit; in radeonTexGen()
|
D | radeon_state.c | 1705 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in radeonEnable()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tex.c | 300 GLuint unit = ctx->Texture.CurrentUnit; in r200TexEnv() 454 GLuint unit = ctx->Texture.CurrentUnit; in r200TexGen()
|
D | r200_state.c | 1913 rmesa->recheck_texgen[ctx->Texture.CurrentUnit] = GL_TRUE; in r200Enable()
|
/third_party/mesa3d/src/mesa/drivers/x11/ |
D | xm_api.c | 1665 const GLuint unit = ctx->Texture.CurrentUnit; in XMesaBindTexImage()
|