Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexobj.c153 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in _mesa_get_current_tex_object()
157 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()
161 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in _mesa_get_current_tex_object()
172 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL; in _mesa_get_current_tex_object()
178 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
184 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_get_current_tex_object()
189 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
193 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
199 texUnit->CurrentTex[TEXTURE_BUFFER_INDEX] : NULL; in _mesa_get_current_tex_object()
202 ? texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX] : NULL; in _mesa_get_current_tex_object()
[all …]
Dtexstate.c94 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
95 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
96 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
667 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture()
817 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
1028 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_init_texture()
1101 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
1131 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_update_default_objects_texture()
Dget.c942 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; in find_custom_value()
1127 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name; in find_custom_value()
1133 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObject; in find_custom_value()
1139 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat; in find_custom_value()
2796 v->value_int = ctx->Texture.Unit[index].CurrentTex[target]->Name; in find_value_indexed()
Dattrib.c539 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()
547 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()
Dmtypes.h1198 struct gl_texture_object *CurrentTex[NUM_TEXTURE_TARGETS]; member
/external/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()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1681 texObj = texUnit->CurrentTex[TEXTURE_1D_INDEX]; in XMesaBindTexImage()
1684 texObj = texUnit->CurrentTex[TEXTURE_2D_INDEX]; in XMesaBindTexImage()
1687 texObj = texUnit->CurrentTex[TEXTURE_RECT_INDEX]; in XMesaBindTexImage()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c680 ctx->Texture.Unit[0].CurrentTex[tgt]); in _mesa_meta_begin()
1079 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) { in _mesa_meta_end()
1081 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt], in _mesa_meta_end()