summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_public.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-18 10:20:13 -0600
committerBrian Paul <[email protected]>2008-06-18 10:20:13 -0600
commit9a2c70f0754b275e7ec370bbbff3d81b48bfd476 (patch)
tree412de9b3f30e2b1c3bae247e7d3fa1bc7ae0c96d /src/mesa/state_tracker/st_public.h
parent19f872f2ecb45d5e95ccd2b434a88781c9b4f451 (diff)
gallium: added new st_set_framebuffer_surface()
This allows the winsys to explicitly specify gallium surfaces for a framebuffer object.
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r--src/mesa/state_tracker/st_public.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h
index a0dab33257f..b99984215f7 100644
--- a/src/mesa/state_tracker/st_public.h
+++ b/src/mesa/state_tracker/st_public.h
@@ -68,6 +68,9 @@ struct st_framebuffer *st_create_framebuffer( const __GLcontextModes *visual,
void st_resize_framebuffer( struct st_framebuffer *stfb,
uint width, uint height );
+void st_set_framebuffer_surface(struct st_framebuffer *stfb,
+ uint surfIndex, struct pipe_surface *surf);
+
struct pipe_surface *st_get_framebuffer_surface(struct st_framebuffer *stfb,
uint surfIndex);