diff options
author | John Ralls <jralls@ceridwen.us> | 2022-02-13 13:50:57 -0800 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2022-02-24 17:00:07 -0800 |
commit | 76e6a0ddf7dfee6d1bc826fd46737d75054b1a0f (patch) | |
tree | 5625915fe54127dce58baa79d5f880fd7311a0ec /src/cairo-quartz-private.h | |
parent | 64786613ee3bf94193e9f515ca42208b5bb3d17d (diff) | |
download | cairo-76e6a0ddf7dfee6d1bc826fd46737d75054b1a0f.tar.gz |
[quartz] Remove cached image_surface on quartz surfaces.
Caching doesn't really do anything and removing it provides a 50%
speedup and gets pdf-operators-text to pass on argb32.
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r-- | src/cairo-quartz-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h index 42e1f9e91..6f5ea4442 100644 --- a/src/cairo-quartz-private.h +++ b/src/cairo-quartz-private.h @@ -67,8 +67,9 @@ typedef struct cairo_quartz_surface { CGContextRef cgContext; CGAffineTransform cgContextBaseCTM; +#if MAC_OS_X_VERSION_MIN_REQUIRED < 10600 void *imageData; - cairo_surface_t *imageSurfaceEquiv; +#endif cairo_surface_clipper_t clipper; cairo_rectangle_int_t extents; |