diff options
author | Brian Paul <[email protected]> | 2009-05-01 10:50:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-05-01 11:24:08 -0600 |
commit | 3534539557350f4a63c6e8b3a48fbc8cacffe199 (patch) | |
tree | b12df0251bb13f61b38d0a9897aca922620bb828 /src/mesa/state_tracker/st_public.h | |
parent | fbceedd2dee967b426ee187205941c6506769ea5 (diff) |
set: new st_swapbuffers() which does a true front/back buffer swap
The pointers to the front/back renderbuffers are exchanged.
This new function isn't actually used yet...
Diffstat (limited to 'src/mesa/state_tracker/st_public.h')
-rw-r--r-- | src/mesa/state_tracker/st_public.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_public.h b/src/mesa/state_tracker/st_public.h index 290b8a974e6..174fbc63941 100644 --- a/src/mesa/state_tracker/st_public.h +++ b/src/mesa/state_tracker/st_public.h @@ -103,6 +103,10 @@ void st_finish( struct st_context *st ); void st_notify_swapbuffers(struct st_framebuffer *stfb); +void st_swapbuffers(struct st_framebuffer *stfb, + struct pipe_surface **front_left, + struct pipe_surface **front_right); + int st_set_teximage(struct pipe_texture *pt, int target); /** Redirect rendering into stfb's surface to a texture image */ |