summaryrefslogtreecommitdiff
path: root/src/cairo-clip.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-07-26 08:02:59 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-07-26 08:02:59 +0100
commit8ba8534d6225a4340acd1469858067e40f48acc3 (patch)
tree70f97a6120d6b923149b63718de3352d8fe038d5 /src/cairo-clip.c
parentf5d602cb59ad8eec19dc07043635a50eb7616e09 (diff)
downloadcairo-8ba8534d6225a4340acd1469858067e40f48acc3.tar.gz
record: Store the untransformed operation extents along with the command
This allows us to actually clip out the geometry before we record it, as suggested by allowing the user to supply an extents... But it will be advantageous in later patches for reducing the amount of work we need to perform to replay. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-clip.c')
-rw-r--r--src/cairo-clip.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index 7e4f8c547..a90c69873 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -54,13 +54,6 @@ static freed_pool_t clip_pool;
const cairo_clip_t __cairo_clip_all;
-static const cairo_rectangle_int_t _cairo_empty_rectangle = { 0, 0, 0, 0 };
-static const cairo_rectangle_int_t _cairo_unbounded_rectangle = {
- CAIRO_RECT_INT_MIN, CAIRO_RECT_INT_MIN,
- CAIRO_RECT_INT_MAX - CAIRO_RECT_INT_MIN,
- CAIRO_RECT_INT_MAX - CAIRO_RECT_INT_MIN,
-};
-
static cairo_clip_path_t *
_cairo_clip_path_create (cairo_clip_t *clip)
{