summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-01 17:46:04 -0600
committerBrian <[email protected]>2007-11-01 18:01:47 -0600
commit80d2658e129d097f30c84fe57e07daeb81bcc790 (patch)
tree82cca12dd1c9a9def551511f50352c5e91560fab /src/mesa/state_tracker/st_public.h
parent7cafaff0ebb7c3fb7461573442aa44b354682d81 (diff)
Sketch out new create/destroy context functions which create/wrap a Mesa context.
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 3191549a2f8..3056b5a3e7d 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -36,8 +36,14 @@ struct pipe_context;
struct st_context *st_create_context( GLcontext *ctx,
struct pipe_context *pipe);
+struct st_context *st_create_context2(struct pipe_context *pipe,
+ const GLvisual *visual,
+ struct st_context *share);
+
void st_destroy_context( struct st_context *st );
+void st_destroy_context2( struct st_context *st );
+
void st_invalidate_state(GLcontext * ctx, GLuint new_state);
#endif