diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-27 16:21:02 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-05 15:02:47 +0100 |
commit | 60567db486649746978850797e548a099df5aa0a (patch) | |
tree | 8ee113bcc402041bacd36603ab79c7bb25963adc /gsk/gskrendererprivate.h | |
parent | e950a5190dcb0dfeebfbb2b1a31273e2d34c77b5 (diff) | |
download | gtk+-60567db486649746978850797e548a099df5aa0a.tar.gz |
gskrenderer: Add gsk_renderer_begin_draw_frame()
This way, we can hijack the begin/end draw process and do out own
processing before passing it on to GDK.
Diffstat (limited to 'gsk/gskrendererprivate.h')
-rw-r--r-- | gsk/gskrendererprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gsk/gskrendererprivate.h b/gsk/gskrendererprivate.h index 8671160992..2ac3c92599 100644 --- a/gsk/gskrendererprivate.h +++ b/gsk/gskrendererprivate.h @@ -42,6 +42,10 @@ struct _GskRendererClass GError **error); void (* unrealize) (GskRenderer *renderer); + GdkDrawingContext * (* begin_draw_frame) (GskRenderer *renderer, + const cairo_region_t *region); + void (* end_draw_frame) (GskRenderer *renderer, + GdkDrawingContext *context); void (* render) (GskRenderer *renderer, GskRenderNode *root); |