Lines Matching defs:ctx
50 _mesa_lookup_texture(struct gl_context *ctx, GLuint id);
53 _mesa_lookup_texture_err(struct gl_context *ctx, GLuint id, const char* func);
56 _mesa_lookup_texture_locked(struct gl_context *ctx, GLuint id);
59 _mesa_get_current_tex_object(struct gl_context *ctx, GLenum target);
62 _mesa_get_texobj_by_target_and_texunit(struct gl_context *ctx, GLenum target,
68 _mesa_new_texture_object( struct gl_context *ctx, GLuint name, GLenum target );
71 _mesa_tex_target_to_index(const struct gl_context *ctx, GLenum target);
74 _mesa_delete_texture_object( struct gl_context *ctx,
78 _mesa_clear_texture_object(struct gl_context *ctx,
98 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
100 if (!ctx->TexturesLocked)
101 simple_mtx_lock(&ctx->Shared->TexMutex);
102 ctx->Shared->TextureStateStamp++;
107 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
110 if (!ctx->TexturesLocked)
111 simple_mtx_unlock(&ctx->Shared->TexMutex);
175 _mesa_test_texobj_completeness( const struct gl_context *ctx,
186 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj);
189 _mesa_get_fallback_texture(struct gl_context *ctx, gl_texture_index tex);
192 _mesa_total_texture_memory(struct gl_context *ctx);
198 _mesa_unlock_context_textures( struct gl_context *ctx );
201 _mesa_lock_context_textures( struct gl_context *ctx );
204 _mesa_lookup_or_create_texture(struct gl_context *ctx, GLenum target,