Home
last modified time | relevance | path

Searched refs:ProxyTex (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexobj.c164 return ctx->Texture.ProxyTex[TEXTURE_1D_INDEX]; in _mesa_get_current_tex_object()
168 return ctx->Texture.ProxyTex[TEXTURE_2D_INDEX]; in _mesa_get_current_tex_object()
173 ? ctx->Texture.ProxyTex[TEXTURE_3D_INDEX] : NULL; in _mesa_get_current_tex_object()
183 return ctx->Texture.ProxyTex[TEXTURE_CUBE_INDEX]; in _mesa_get_current_tex_object()
189 ? ctx->Texture.ProxyTex[TEXTURE_CUBE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
195 ? ctx->Texture.ProxyTex[TEXTURE_RECT_INDEX] : NULL; in _mesa_get_current_tex_object()
199 return arrayTex ? ctx->Texture.ProxyTex[TEXTURE_1D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
203 return arrayTex ? ctx->Texture.ProxyTex[TEXTURE_2D_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
216 ? ctx->Texture.ProxyTex[TEXTURE_2D_MULTISAMPLE_INDEX] : NULL; in _mesa_get_current_tex_object()
222 ? ctx->Texture.ProxyTex[TEXTURE_2D_MULTISAMPLE_ARRAY_INDEX] : NULL; in _mesa_get_current_tex_object()
Dtexstate.c1009 if (!(ctx->Texture.ProxyTex[tgt] in alloc_proxy_textures()
1013 _mesa_delete_texture_object(ctx, ctx->Texture.ProxyTex[tgt]); in alloc_proxy_textures()
1019 assert(ctx->Texture.ProxyTex[0]->RefCount == 1); /* sanity check */ in alloc_proxy_textures()
1137 _mesa_delete_texture_object(ctx, ctx->Texture.ProxyTex[tgt]); in _mesa_free_texture_data()
Dmtypes.h1296 struct gl_texture_object *ProxyTex[NUM_TEXTURE_TARGETS]; member
Dteximage.c463 texImage = ctx->Texture.ProxyTex[texIndex]->Image[0][level]; in get_proxy_tex_image()
470 ctx->Texture.ProxyTex[texIndex]->Image[0][level] = texImage; in get_proxy_tex_image()
472 texImage->TexObject = ctx->Texture.ProxyTex[texIndex]; in get_proxy_tex_image()