summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-02 13:22:22 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 08:04:48 -0700
commit794e03d3926614036d285f2033d8708c7667814a (patch)
treee6b4a3e8958c4ce844c32101a25effb4c5a2e33e /src/mesa/state_tracker/st_public.h
parent7edf6304687a05f34e3f1e471451f54e7c8a5d47 (diff)
Introduce st_framebuffer type and st_create_framebuffer(), st_make_current()
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 1cc6e6e40e..94d1cdfde4 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -31,6 +31,8 @@
#include "mtypes.h"
struct st_context;
+struct st_framebuffer;
+
struct pipe_context;
struct st_context *st_create_context( GLcontext *ctx,
@@ -44,6 +46,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_make_current(struct st_context *st,
+ struct st_framebuffer *draw,
+ struct st_framebuffer *read);
+
void st_invalidate_state(GLcontext * ctx, GLuint new_state);
void st_flush( struct st_context *st );