diff options
author | Brian <[email protected]> | 2007-11-07 12:06:50 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-07 16:08:04 -0700 |
commit | 0852cf8611dd77b564db1df9b61e035d9ea4b280 (patch) | |
tree | 2e0232e8ec620021bd6c41416721a01fda7a2529 /src | |
parent | c712d092a178096d8d95e58bd1bd20a33045cd7b (diff) |
just reorder a few members of pipe_winsys, update comments
Diffstat (limited to 'src')
-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 ); - }; |