summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/shared.h')
-rw-r--r--src/mesa/main/shared.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/main/shared.h b/src/mesa/main/shared.h
index 55516a8c37c..3fe4578cf31 100644
--- a/src/mesa/main/shared.h
+++ b/src/mesa/main/shared.h
@@ -27,13 +27,14 @@
struct gl_context;
-struct gl_shared_state *
-_mesa_alloc_shared_state(struct gl_context *ctx);
+void
+_mesa_reference_shared_state(struct gl_context *ctx,
+ struct gl_shared_state **ptr,
+ struct gl_shared_state *state);
-void
-_mesa_release_shared_state(struct gl_context *ctx,
- struct gl_shared_state *shared);
+struct gl_shared_state *
+_mesa_alloc_shared_state(struct gl_context *ctx);
#endif