diff options
author | Keith Whitwell <[email protected]> | 2007-08-10 12:57:14 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-10 12:58:26 +0100 |
commit | 5c2c05600081f811e001a81a600778de0fcab85d (patch) | |
tree | ba4e239592e9798ca3e660158c668afd7d145639 /src/mesa/pipe/softpipe/sp_winsys.h | |
parent | 9ac1a8d416c2bd50ca10186ca09f5e86f6fa4ce6 (diff) |
Handle glFlush/glFinish through the state tracker.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_winsys.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_winsys.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_winsys.h b/src/mesa/pipe/softpipe/sp_winsys.h index 6f6d0f24461..73b06590671 100644 --- a/src/mesa/pipe/softpipe/sp_winsys.h +++ b/src/mesa/pipe/softpipe/sp_winsys.h @@ -50,9 +50,19 @@ struct pipe_buffer_handle; struct softpipe_winsys { + /* Do any special operations to ensure frontbuffer contents are + * displayed, eg copy fake frontbuffer. + */ + void (*flush_frontbuffer)( struct softpipe_winsys *sws ); + + /* Wait for any hw swapbuffers, etc. to finish: + */ + void (*wait_idle)( struct softpipe_winsys *sws ); + /* debug output */ - void (*printf)( const char *, ... ); + void (*printf)( struct softpipe_winsys *sws, + const char *, ... ); /* The buffer manager is modeled after the dri_bugmgr interface, |