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 <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs
2010-01-11 11:41:47 +10:00
committed by Jakob Bornecrantz
parent e88294328c
commit 116a02be22
5 changed files with 19 additions and 2 deletions
+5
View File
@@ -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