Home
last modified time | relevance | path

Searched refs:CurrentTex (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexobj.c155 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in _mesa_get_current_tex_object()
159 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()
163 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in _mesa_get_current_tex_object()
174 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL; in _mesa_get_current_tex_object()
180 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
186 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_get_current_tex_object()
191 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
195 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
201 texUnit->CurrentTex[TEXTURE_BUFFER_INDEX] : NULL; in _mesa_get_current_tex_object()
204 ? texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX] : NULL; in _mesa_get_current_tex_object()
[all …]
Dtexstate.c92 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
93 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
94 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
677 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture()
827 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
1056 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_init_texture()
1129 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
1159 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_update_default_objects_texture()
Dattrib.c284 struct gl_texture_object *src = ctx->Texture.Unit[u].CurrentTex[tex]; in _mesa_PushAttrib()
637 _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()
651 texObj = _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()
684 _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()
Dget.c957 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; in find_custom_value()
1142 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name; in find_custom_value()
1148 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObject; in find_custom_value()
1154 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat; in find_custom_value()
2811 v->value_int = ctx->Texture.Unit[index].CurrentTex[target]->Name; in find_value_indexed()
Dmtypes.h1195 struct gl_texture_object *CurrentTex[NUM_TEXTURE_TARGETS]; member
/third_party/mesa3d/src/mesa/swrast/
Ds_triangle.c129 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
187 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
544 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
813 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
1055 texObj2D = ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; in _swrast_choose_triangle()
/third_party/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1692 texObj = texUnit->CurrentTex[TEXTURE_1D_INDEX]; in XMesaBindTexImage()
1695 texObj = texUnit->CurrentTex[TEXTURE_2D_INDEX]; in XMesaBindTexImage()
1698 texObj = texUnit->CurrentTex[TEXTURE_RECT_INDEX]; in XMesaBindTexImage()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c681 ctx->Texture.Unit[0].CurrentTex[tgt]); in _mesa_meta_begin()
1081 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) { in _mesa_meta_end()
1083 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt], in _mesa_meta_end()