st/dri: update dri2 drawables when viewport is changed
[mesa.git] / src / gallium / include / pipe / p_screen.h
index f0a4de5df33c0beec416c6f80143c5328b766fe3..b8e001a6b01aafa95cbd27cc434eb0419b19afed 100644 (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