Searched refs:DefaultTex (Results 1 – 4 of 4) sorted by relevance
117 shared->DefaultTex[i] = ctx->Driver.NewTextureObject(ctx, 0, targets[i]); in _mesa_alloc_shared_state()122 shared->DefaultTex[i]->TargetIndex = i; in _mesa_alloc_shared_state()126 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1); in _mesa_alloc_shared_state()421 if (shared->DefaultTex[i]) in free_shared_state()422 ctx->Driver.DeleteTexture(ctx, shared->DefaultTex[i]); in free_shared_state()
1024 ctx->Shared->DefaultTex[tex]); in init_texture_unit()1066 assert(ctx->Shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount in _mesa_init_texture()1128 ctx->Shared->DefaultTex[tex]); in _mesa_update_default_objects_texture()
1117 total += texture_size(ctx->Shared->DefaultTex[tgt]); in _mesa_total_texture_memory()1392 ctx->Shared->DefaultTex[index]); in unbind_texobj_from_texunits()1430 struct gl_texture_object *texObj = ctx->Shared->DefaultTex[index]; in unbind_textures_from_unit()1746 newTexObj = ctx->Shared->DefaultTex[targetIndex]; in bind_texture()
3234 struct gl_texture_object *DefaultTex[NUM_TEXTURE_TARGETS]; member