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/gskrenderer.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/gskrenderer.h')
-rw-r--r-- | gsk/gskrenderer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gsk/gskrenderer.h b/gsk/gskrenderer.h index 507beb3049..1728fc9088 100644 --- a/gsk/gskrenderer.h +++ b/gsk/gskrenderer.h @@ -77,11 +77,15 @@ GskRenderer * gsk_renderer_create_fallback (GskRenderer cairo_t *cr); GDK_AVAILABLE_IN_3_90 -GdkGLContext * gsk_renderer_get_gl_context (GskRenderer *renderer); +GdkDrawingContext * gsk_renderer_begin_draw_frame (GskRenderer *renderer, + const cairo_region_t *region); GDK_AVAILABLE_IN_3_90 void gsk_renderer_render (GskRenderer *renderer, GskRenderNode *root, GdkDrawingContext *context); +GDK_AVAILABLE_IN_3_90 +void gsk_renderer_end_draw_frame (GskRenderer *renderer, + GdkDrawingContext *context); G_END_DECLS |