Searched refs:CurrentTex (Results 1 – 5 of 5) sorted by relevance
162 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in _mesa_get_current_tex_object()166 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()170 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in _mesa_get_current_tex_object()181 return texUnit->CurrentTex[TEXTURE_CUBE_INDEX]; in _mesa_get_current_tex_object()186 ? texUnit->CurrentTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()192 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_get_current_tex_object()197 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()201 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()207 texUnit->CurrentTex[TEXTURE_BUFFER_INDEX] : NULL; in _mesa_get_current_tex_object()210 ? texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX] : NULL; in _mesa_get_current_tex_object()[all …]
94 _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()679 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture()829 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_ff_texture_state()1058 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_init_texture()1131 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()1161 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_update_default_objects_texture()
285 struct gl_texture_object *src = ctx->Texture.Unit[u].CurrentTex[tex]; in _mesa_PushAttrib()567 _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()581 texObj = _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()612 _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group()
969 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; in find_custom_value()1162 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name; in find_custom_value()1168 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObject; in find_custom_value()1174 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat; in find_custom_value()2839 v->value_int = ctx->Texture.Unit[index].CurrentTex[target]->Name; in find_value_indexed()
1232 struct gl_texture_object *CurrentTex[NUM_TEXTURE_TARGETS]; member