r600g: pad the DMA CS to a multiple of 8 dwords
[mesa.git] / src / mesa / main / shared.h
index 55516a8c37c0c1a98e31231d8c2b32e71e3a0b34..3fe4578cf311e657d59e3104f3de6361d86a8b8f 100644 (file)
 
 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