st/dri: implement new driver hook flush_with_flags
[mesa.git] / src / gallium / state_trackers / dri / common / dri_drawable.h
index 3e3876e74a572699b79355f27f433e4f3d238b08..6336c81a7155a524eb1bbea22a1beec07f88ab14 100644 (file)
@@ -106,6 +106,12 @@ dri_drawable_get_format(struct dri_drawable *drawable,
                         enum pipe_format *format,
                         unsigned *bind);
 
+void
+dri_flush(__DRIcontext *cPriv,
+          __DRIdrawable *dPriv,
+          unsigned flags,
+          enum __DRI2throttleReason reason);
+
 extern const __DRItexBufferExtension driTexBufferExtension;
 extern const __DRI2throttleExtension dri2ThrottleExtension;
 #endif