diff options
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/p_winsys.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mesa/pipe/p_winsys.h b/src/mesa/pipe/p_winsys.h index e4c888ad338..9dbac87b4bb 100644 --- a/src/mesa/pipe/p_winsys.h +++ b/src/mesa/pipe/p_winsys.h @@ -60,6 +60,12 @@ struct pipe_buffer_handle; struct pipe_winsys { + /** Returns name of this winsys interface */ + const char *(*get_name)( struct pipe_winsys *sws ); + + /** Wait for any buffered rendering to finish */ + void (*wait_idle)( struct pipe_winsys *sws ); + /** * Do any special operations to ensure frontbuffer contents are * displayed, eg copy fake frontbuffer. @@ -147,13 +153,6 @@ struct pipe_winsys unsigned long size, void *data); - - /** Wait for any hw swapbuffers, etc. to finish */ - void (*wait_idle)( struct pipe_winsys *sws ); - - /** Queries */ - const char *(*get_name)( struct pipe_winsys *sws ); - }; |