gallium: expose a debug message callback settable by context owner
[mesa.git] / src / gallium / include / state_tracker / drisw_api.h
index 944a649257e08e8f31f1567f17f79b0a46264906..cd5a27e2482c9da0a2fd696651d25d10dc79c04a 100644 (file)
@@ -11,8 +11,13 @@ struct dri_drawable;
  */
 struct drisw_loader_funcs
 {
+   void (*get_image) (struct dri_drawable *dri_drawable,
+                      int x, int y, unsigned width, unsigned height, unsigned stride,
+                      void *data);
    void (*put_image) (struct dri_drawable *dri_drawable,
                       void *data, unsigned width, unsigned height);
+   void (*put_image2) (struct dri_drawable *dri_drawable,
+                       void *data, int x, int y, unsigned width, unsigned height, unsigned stride);
 };
 
 /**