aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 4a7d775db45..a4d1d5bdaa0 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -371,6 +371,12 @@ struct dd_function_table {
void (*DeleteTexture)(struct gl_context *ctx,
struct gl_texture_object *texObj);
+ /**
+ * Called to notify that texture is removed from ctx->Shared->TexObjects
+ */
+ void (*TextureRemovedFromShared)(struct gl_context *ctx,
+ struct gl_texture_object *texObj);
+
/** Called to allocate a new texture image object. */
struct gl_texture_image * (*NewTextureImage)(struct gl_context *ctx);