diff options
author | Alan Hourihane <alanh@vmware.com> | 2009-02-19 18:33:15 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@vmware.com> | 2009-02-23 20:28:55 +0000 |
commit | 6b722272709abed5468428da5d2c8951c84867d2 (patch) | |
tree | d825e69a0c9ce2ab16f7f102ccdaba5ba4343879 /src/gallium/include | |
parent | 65562453fba69e862d5e3b381d18db9c40d9353c (diff) |
gallium: add winsys interface for viewport changes to support DRI2
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/internal/p_winsys_screen.h | 5 |
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 ee835578b2..8d3bab0caa 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. */ |