diff options
author | John Ralls <jralls@ceridwen.us> | 2022-02-14 17:23:12 -0800 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2022-02-24 17:00:07 -0800 |
commit | bacbe9bb2da5afec7cb64bc5a89dd898e1826e8a (patch) | |
tree | 3597dfeb8dcfc8a3e68c1b1f07d2ff95e1f3c9ee /src/cairo-quartz-private.h | |
parent | 76e6a0ddf7dfee6d1bc826fd46737d75054b1a0f (diff) | |
download | cairo-bacbe9bb2da5afec7cb64bc5a89dd898e1826e8a.tar.gz |
[quartz] Create similar surfaces using a CGLayer for faster drawing.
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r-- | src/cairo-quartz-private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h index 6f5ea4442..968d64643 100644 --- a/src/cairo-quartz-private.h +++ b/src/cairo-quartz-private.h @@ -55,7 +55,8 @@ typedef enum { DO_DIRECT, DO_SHADING, DO_IMAGE, - DO_TILED_IMAGE + DO_TILED_IMAGE, + DO_LAYER } cairo_quartz_action_t; /* define CTFontRef for pre-10.5 SDKs */ @@ -74,6 +75,7 @@ typedef struct cairo_quartz_surface { cairo_surface_clipper_t clipper; cairo_rectangle_int_t extents; cairo_rectangle_int_t virtual_extents; + CGLayerRef cgLayer; } cairo_quartz_surface_t; typedef struct cairo_quartz_image_surface { |