summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-07 12:06:50 -0700
committerBrian <[email protected]>2007-11-07 16:08:04 -0700
commit0852cf8611dd77b564db1df9b61e035d9ea4b280 (patch)
tree2e0232e8ec620021bd6c41416721a01fda7a2529 /src/mesa/pipe
parentc712d092a178096d8d95e58bd1bd20a33045cd7b (diff)
just reorder a few members of pipe_winsys, update comments
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/p_winsys.h13
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 );
-
};