diff options
author | Benjamin Otte <otte@redhat.com> | 2018-04-23 18:42:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-04-24 23:24:55 +0200 |
commit | ae7a6773468181b3524c12426f70749682ff0fce (patch) | |
tree | 8d4039105163154f0d894bc384a859fd35f99ca9 /gdk/gdkinternals.h | |
parent | 7002f08cc1515de0eb3a117296dd25d98db2dcd2 (diff) | |
download | gtk+-ae7a6773468181b3524c12426f70749682ff0fce.tar.gz |
cairocontext: Remove fallback implementations
Now that all Cairo contexts are ported to managing cairo surfaces
themselves, the old fallback code that didi the managing is no longer
needed.
Also clarify the behavior of gdk_cairo_context_cairo_create() wrt the
vfunc by doing the early exit and the clipping outside of it.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r-- | gdk/gdkinternals.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index f7ccf740a6..ab985288b4 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -158,16 +158,6 @@ struct _GdkSurface GList *children; GList children_list_node; - struct { - /* The temporary surface that we're painting to. This will be composited - * back into the surface when we call end_paint. This is our poor-man's - * way of doing double buffering. */ - cairo_surface_t *surface; - - cairo_region_t *region; - - gboolean surface_needs_composite; - } current_paint; GdkGLContext *gl_paint_context; cairo_region_t *update_area; @@ -290,9 +280,6 @@ cairo_region_t *gdk_cairo_region_from_clip (cairo_t *cr); * Interfaces used by windowing code * *************************************/ -cairo_surface_t * - _gdk_surface_ref_cairo_surface (GdkSurface *surface); - GdkSurface* gdk_surface_new (GdkDisplay *display, GdkSurface *parent, GdkSurfaceAttr *attributes); @@ -307,8 +294,6 @@ void gdk_surface_get_unscaled_size (GdkSurface *surface, int *unscaled_width, int *unscaled_height); -cairo_region_t *gdk_surface_get_current_paint_region (GdkSurface *surface); - /***************************************** * Interfaces provided by windowing code * *****************************************/ |