aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-05 15:59:55 -0700
committerBrian <[email protected]>2007-11-05 15:59:55 -0700
commite39f1b4cbea6d41dc09430bd3d811cb7bbdea5f8 (patch)
tree82f76d36cbde01e22b58a257971ec52d414a06d1 /src/mesa/state_tracker/st_public.h
parent9a563d5e696a7c8fc09f7da5a0d33a9675b00e4c (diff)
Update xlib driver to use newer state tracker context/framebuffer functions.
XMesaContext has an st_context * which contains a mesa context.
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 8162ceeffab..c94e8d32c8a 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -53,7 +53,12 @@ void st_destroy_context( struct st_context *st );
void st_destroy_context2( struct st_context *st );
-struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual );
+void st_copy_context_state(struct st_context *dst, struct st_context *src,
+ uint mask);
+
+struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual,
+ GLboolean createRenderbuffers,
+ void *privateData);
void st_resize_framebuffer( struct st_framebuffer *stfb,
GLuint width, GLuint height );
@@ -61,6 +66,8 @@ void st_resize_framebuffer( struct st_framebuffer *stfb,
struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
uint surfIndex);
+void *st_framebuffer_private( struct st_framebuffer *stfb );
+
void st_unreference_framebuffer( struct st_framebuffer **stfb );
void st_make_current(struct st_context *st,