Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexobj.c152 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in _mesa_get_current_tex_object()
156 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()
160 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in _mesa_get_current_tex_object()
171 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL; in _mesa_get_current_tex_object()
177 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
183 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_get_current_tex_object()
188 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
192 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
198 texUnit->CurrentTex[TEXTURE_BUFFER_INDEX] : NULL; in _mesa_get_current_tex_object()
201 ? texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX] : NULL; in _mesa_get_current_tex_object()
[all …]
Dtexstate.c105 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()
106 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()
107 if (src->Texture.Unit[u].CurrentTex[tex]) { in _mesa_copy_texture_state()
661 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture()
807 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()
1023 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in init_texture_unit()
1097 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()
1127 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_update_default_objects_texture()
Dget.c847 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; in find_custom_value()
1025 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name; in find_custom_value()
1031 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObject; in find_custom_value()
1037 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat; in find_custom_value()
2519 v->value_int = ctx->Texture.Unit[index].CurrentTex[target]->Name; in find_value_indexed()
Dattrib.c522 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()
530 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()
Dtexparam.c146 return texUnit->CurrentTex[targetIndex]; in get_texobj_by_target()
Dmtypes.h1282 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.c1686 texObj = texUnit->CurrentTex[TEXTURE_1D_INDEX]; in XMesaBindTexImage()
1689 texObj = texUnit->CurrentTex[TEXTURE_2D_INDEX]; in XMesaBindTexImage()
1692 texObj = texUnit->CurrentTex[TEXTURE_RECT_INDEX]; in XMesaBindTexImage()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c663 ctx->Texture.Unit[0].CurrentTex[tgt]); in _mesa_meta_begin()
1057 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) { in _mesa_meta_end()
1059 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt], in _mesa_meta_end()