summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-10 22:20:15 +0800
committerChia-I Wu <[email protected]>2010-03-10 22:21:08 +0800
commite4848d21e8f384f4157076d5e7c7c9d38da6598e (patch)
tree1d2efb8bf99741578a03e64876e1e1a93891d9e8 /src/gallium/include
parent9b348d0ed125a22be3f318ac60cef6f201edfdab (diff)
gallium: Do not mix winsys-drawable-handle and context-private.
update_buffer should be called with context-private, not winsys-drawable-handle.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_screen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 690455f7222..b771bfe85ec 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -265,6 +265,7 @@ struct pipe_screen {
/**
* Do any special operations to ensure buffer size is correct
+ * \param context_private the private data of the calling context
*/
void (*update_buffer)( struct pipe_screen *ws,
void *context_private );
@@ -272,10 +273,12 @@ struct pipe_screen {
/**
* Do any special operations to ensure frontbuffer contents are
* displayed, eg copy fake frontbuffer.
+ * \param winsys_drawable_handle an opaque handle that the calling context
+ * gets out-of-band
*/
void (*flush_frontbuffer)( struct pipe_screen *screen,
struct pipe_surface *surf,
- void *context_private );
+ void *winsys_drawable_handle );