summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2014-10-09 10:18:02 +0200
committerMatthias Clasen <mclasen@redhat.com>2014-10-13 10:43:31 -0400
commitd0147a6f2cbc4903bc6969bde29de7bb068eae71 (patch)
tree523ced9ed6d9ac8db04fb2d344ea6339058dfb93 /gdk/gdkwindow.h
parenta8f11835c5c59755c0477b289019a4cfab761628 (diff)
downloadgtk+-d0147a6f2cbc4903bc6969bde29de7bb068eae71.tar.gz
Add gdk_window_mark_paint_from_clip and call from widget drawing
This is a new function that gets called every time we're drawing some area in the Gtk paint machinery. It is a no-op right now, but it will be required later to keep track of what areas which we previously rendered with GL was overwritten with cairo contents.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r--gdk/gdkwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 38a67b5afc..55c5898dc8 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -739,6 +739,9 @@ cairo_region_t *gdk_window_get_visible_region(GdkWindow *window);
GDK_AVAILABLE_IN_ALL
void gdk_window_begin_paint_rect (GdkWindow *window,
const GdkRectangle *rectangle);
+GDK_AVAILABLE_IN_3_14
+void gdk_window_mark_paint_from_clip (GdkWindow *window,
+ cairo_t *cr);
GDK_AVAILABLE_IN_ALL
void gdk_window_begin_paint_region (GdkWindow *window,
const cairo_region_t *region);