Searched refs:DefaultTex (Results 1 – 4 of 4) sorted by relevance
108 shared->DefaultTex[i] = ctx->Driver.NewTextureObject(ctx, 0, targets[i]); in _mesa_alloc_shared_state()113 shared->DefaultTex[i]->TargetIndex = i; in _mesa_alloc_shared_state()117 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1); in _mesa_alloc_shared_state()369 ctx->Driver.DeleteTexture(ctx, shared->DefaultTex[i]); in free_shared_state()
863 ctx->Shared->DefaultTex[tex]); in init_texture_unit()905 assert(ctx->Shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount in _mesa_init_texture()967 ctx->Shared->DefaultTex[tex]); in _mesa_update_default_objects_texture()
1117 total += texture_size(ctx->Shared->DefaultTex[tgt]); in _mesa_total_texture_memory()1368 ctx->Shared->DefaultTex[index]); in unbind_texobj_from_texunits()1406 struct gl_texture_object *texObj = ctx->Shared->DefaultTex[index]; in unbind_textures_from_unit()1688 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in _mesa_BindTexture()
3059 struct gl_texture_object *DefaultTex[NUM_TEXTURE_TARGETS]; member