aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/internal
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2009-02-19 18:33:15 +0000
committerAlan Hourihane <[email protected]>2009-02-23 20:28:55 +0000
commit6b722272709abed5468428da5d2c8951c84867d2 (patch)
treed825e69a0c9ce2ab16f7f102ccdaba5ba4343879 /src/gallium/include/pipe/internal
parent65562453fba69e862d5e3b381d18db9c40d9353c (diff)
gallium: add winsys interface for viewport changes to support DRI2
Diffstat (limited to 'src/gallium/include/pipe/internal')
-rw-r--r--src/gallium/include/pipe/internal/p_winsys_screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/internal/p_winsys_screen.h b/src/gallium/include/pipe/internal/p_winsys_screen.h
index ee835578b23..8d3bab0caa1 100644
--- a/src/gallium/include/pipe/internal/p_winsys_screen.h
+++ b/src/gallium/include/pipe/internal/p_winsys_screen.h
@@ -68,6 +68,11 @@ struct pipe_winsys
const char *(*get_name)( struct pipe_winsys *ws );
/**
+ * Do any special operations to ensure buffer size is correct
+ */
+ void (*update_buffer)( struct pipe_winsys *ws,
+ void *context_private );
+ /**
* Do any special operations to ensure frontbuffer contents are
* displayed, eg copy fake frontbuffer.
*/