summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-05 09:52:14 -0700
committerBrian <[email protected]>2007-11-05 09:52:14 -0700
commit616bf3556939d94852b1dfe73f92ef94b10782c4 (patch)
tree948ba9f332ff9db490cdfd4f295f33f371611ec0 /src/mesa/state_tracker/st_public.h
parentf221ea658b8aabefb419ad19826906a3afa3e806 (diff)
added st_get_framebuffer_surface() and ST_SURFACE_x tokens
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index 93239e66d63..acbf54d5ab3 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -30,6 +30,13 @@
#include "mtypes.h"
+
+#define ST_SURFACE_FRONT_LEFT 0
+#define ST_SURFACE_BACK_LEFT 1
+#define ST_SURFACE_FRONT_RIGHT 2
+#define ST_SURFACE_BACK_RIGHT 3
+
+
struct st_context;
struct st_framebuffer;
@@ -51,6 +58,9 @@ struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual );
void st_resize_framebuffer( struct st_framebuffer *stfb,
GLuint width, GLuint height );
+struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
+ uint surfIndex);
+
void st_unreference_framebuffer( struct st_framebuffer **stfb );
void st_make_current(struct st_context *st,