diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-24 08:04:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:36 +0100 |
commit | 60d73da9f2e148e982254c78773f0b925be184ff (patch) | |
tree | 3186488c2f3c4c7f7d28d4f3e4be170d85a6d961 /src/cairoint.h | |
parent | 50c7d637f3a97031c5f4e2bc8d41d17e5397db45 (diff) |
[clip] Cache intermediate clip masks.
As we now superimpose a per-operation clip, this defeats the current
top-level caching mechanism. Instead we need to cache the mask for
each path. This still seems quite wasteful, and an avenue would be to
avoid caching if the path is rectilinear and reduce the number of
required composite operations. (However, first find test case...)
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index 25849818..4db99d6a 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -2772,4 +2772,7 @@ _cairo_debug_check_image_surface_is_defined (const cairo_surface_t *surface); void _cairo_debug_print_path (FILE *stream, cairo_path_fixed_t *path); +void +_cairo_debug_print_clip (FILE *stream, cairo_clip_t *clip); + #endif |