summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-private.h
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-07-29 16:48:30 +0200
committerAndrea Canciani <ranma42@gmail.com>2010-10-13 00:27:01 +0200
commit1061c80d79e0e282617669397b45e0776d23bfb6 (patch)
treeab2e51dc9d14ab705a4f57f4a1899dc9c7a3c7ba /src/cairo-quartz-private.h
parentbbaca9598292eaee2da3c8a7c275d53bf1a1a652 (diff)
downloadcairo-1061c80d79e0e282617669397b45e0776d23bfb6.tar.gz
quartz: Move drawing state out of surface
Some pattern types (gradients, surface patterns) require some temporary information to be stored as "graphic state", because it doesn't belong to CGContext. Previously all of this data was stored inside the surface during the drawing operations, now it's in a stack-allocated structure (of type cairo_quartz_drawing_state_t). Based on a patch by Robert O'Callahan <robert@ocallahan.org>. See https://bugzilla.mozilla.org/show_bug.cgi?id=522859
Diffstat (limited to 'src/cairo-quartz-private.h')
-rw-r--r--src/cairo-quartz-private.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cairo-quartz-private.h b/src/cairo-quartz-private.h
index bd12bfb77..beac8847a 100644
--- a/src/cairo-quartz-private.h
+++ b/src/cairo-quartz-private.h
@@ -69,18 +69,6 @@ typedef struct cairo_quartz_surface {
cairo_surface_clipper_t clipper;
cairo_rectangle_int_t extents;
cairo_rectangle_int_t virtual_extents;
-
- /* These are stored while drawing operations are in place, set up
- * by quartz_setup_source() and quartz_finish_source()
- */
- cairo_quartz_action_t action;
- CGAffineTransform sourceTransform;
-
- CGImageRef sourceImage;
- cairo_surface_t *sourceImageSurface;
- CGRect sourceImageRect;
-
- CGShadingRef sourceShading;
} cairo_quartz_surface_t;
typedef struct cairo_quartz_image_surface {