Searched refs:CurrentTex (Results 1 – 10 of 10) sorted by relevance
109 _mesa_reference_texobj(&dst->Texture.Unit[u].CurrentTex[tex], in _mesa_copy_texture_state()110 src->Texture.Unit[u].CurrentTex[tex]); in _mesa_copy_texture_state()575 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; in update_texture_state()786 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in init_texture_unit()840 _mesa_reference_texobj(&ctx->Texture.Unit[u].CurrentTex[tgt], NULL); in _mesa_free_texture_data()872 _mesa_reference_texobj(&texUnit->CurrentTex[tex], in _mesa_update_default_objects_texture()
135 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in get_texobj()138 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in get_texobj()141 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in get_texobj()145 return texUnit->CurrentTex[TEXTURE_CUBE_INDEX]; in get_texobj()151 return texUnit->CurrentTex[TEXTURE_RECT_INDEX]; in get_texobj()158 return texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX]; in get_texobj()165 return texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX]; in get_texobj()170 return texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX]; in get_texobj()
1043 if (texObj == unit->CurrentTex[tex]) { in unbind_texobj_from_texunits()1044 _mesa_reference_texobj(&unit->CurrentTex[tex], in unbind_texobj_from_texunits()1046 ASSERT(unit->CurrentTex[tex]); in unbind_texobj_from_texunits()1251 && (newTexObj == texUnit->CurrentTex[targetIndex])); in _mesa_BindTexture()1265 _mesa_reference_texobj(&texUnit->CurrentTex[targetIndex], newTexObj); in _mesa_BindTexture()1266 ASSERT(texUnit->CurrentTex[targetIndex]); in _mesa_BindTexture()
721 return texUnit->CurrentTex[TEXTURE_1D_INDEX]; in _mesa_select_tex_object()725 return texUnit->CurrentTex[TEXTURE_2D_INDEX]; in _mesa_select_tex_object()729 return texUnit->CurrentTex[TEXTURE_3D_INDEX]; in _mesa_select_tex_object()740 ? texUnit->CurrentTex[TEXTURE_CUBE_INDEX] : NULL; in _mesa_select_tex_object()746 ? texUnit->CurrentTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_select_tex_object()751 return arrayTex ? texUnit->CurrentTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_select_tex_object()755 return arrayTex ? texUnit->CurrentTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_select_tex_object()761 ? texUnit->CurrentTex[TEXTURE_BUFFER_INDEX] : NULL; in _mesa_select_tex_object()764 ? texUnit->CurrentTex[TEXTURE_EXTERNAL_INDEX] : NULL; in _mesa_select_tex_object()
1703 ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; in find_custom_value()1820 ctx->Texture.Unit[unit].CurrentTex[TEXTURE_BUFFER_INDEX]->Name; in find_custom_value()1826 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObject; in find_custom_value()1832 .CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat; in find_custom_value()
440 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()448 ctx->Texture.Unit[u].CurrentTex[tex]); in _mesa_PushAttrib()
1425 struct gl_texture_object *CurrentTex[NUM_TEXTURE_TARGETS]; member
128 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \186 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \543 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \812 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \1054 texObj2D = ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; in _swrast_choose_triangle()
1684 texObj = texUnit->CurrentTex[TEXTURE_1D_INDEX]; in XMesaBindTexImage()1687 texObj = texUnit->CurrentTex[TEXTURE_2D_INDEX]; in XMesaBindTexImage()1690 texObj = texUnit->CurrentTex[TEXTURE_RECT_INDEX]; in XMesaBindTexImage()
696 ctx->Texture.Unit[0].CurrentTex[tgt]); in _mesa_meta_begin()1019 if (ctx->Texture.Unit[0].CurrentTex[tgt] != save->CurrentTexture[tgt]) { in _mesa_meta_end()1021 _mesa_reference_texobj(&ctx->Texture.Unit[0].CurrentTex[tgt], in _mesa_meta_end()