diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-04 13:50:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-04 13:50:15 +0100 |
commit | 7903c80ee81777bab6eec408c10b2b59330b10f7 (patch) | |
tree | 117c31b66cac928832d283ae1eebb375da8e0eac /src/cairoint.h | |
parent | f353ba46a3b8c260f96588fd6bb8d07c2a09d01a (diff) |
[meta] Cache replays when used as a pattern source
Use the cow-snapshotting mechanism to store the meta surface replay (either
to an image inside acquire_source_image() or to a similar surface during
clone_similar()).
Fixes Bug 17971 -- Extreme slowdown for manual convolutions in most
vector backends.
https://bugs.freedesktop.org/show_bug.cgi?id=17971
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index 52f813f5..fed81a5f 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -1997,7 +1997,8 @@ _cairo_surface_attach_snapshot (cairo_surface_t *surface, cairo_private cairo_surface_t * _cairo_surface_has_snapshot (cairo_surface_t *surface, - const cairo_surface_backend_t *backend); + const cairo_surface_backend_t *backend, + cairo_content_t content); cairo_private void _cairo_surface_detach_snapshot (cairo_surface_t *snapshot); |