diff options
author | Ben Skeggs <[email protected]> | 2010-01-11 11:41:47 +1000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-19 17:06:22 +0100 |
commit | 116a02be2264807dafb5fdfd4e3c913bb728c11f (patch) | |
tree | d432ab0a3d064d2cac49ecd2ec2cc52f8d8c1abf /src/gallium/include/pipe/p_screen.h | |
parent | e88294328cb71dc32941556da5bd4ed40e8b95f1 (diff) |
st/dri: update dri2 drawables when viewport is changed
Fixes gnome-shell on nouveau, as well as window resize with various
other applications.
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_screen.h')
-rw-r--r-- | src/gallium/include/pipe/p_screen.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index f0a4de5df33..b8e001a6b01 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -266,6 +266,11 @@ struct pipe_screen { void (*video_surface_destroy)( struct pipe_video_surface *vsfc ); + /** + * Do any special operations to ensure buffer size is correct + */ + void (*update_buffer)( struct pipe_screen *ws, + void *context_private ); /** * Do any special operations to ensure frontbuffer contents are |