diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-02-13 13:23:50 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-02-13 13:26:52 +0000 |
commit | cc8a09567ca034e7d95e2ef8a3ec833b12c9f87a (patch) | |
tree | ba023d38eb053a7e1234ecdfb2b3b77a529b4acf /src/cairo-surface-fallback.c | |
parent | adaf70a93f4449e85997bcde531b76c9044758ea (diff) |
[surface] Move the meta-data copy-on-snapshot to the generic layer.
As pointed out by Paolo Bonzini, copying the meta data for a snapshot is
common for all backends and so should be handled by the generic layer.
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r-- | src/cairo-surface-fallback.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c index 9b33d116..7c38cbdf 100644 --- a/src/cairo-surface-fallback.c +++ b/src/cairo-surface-fallback.c @@ -1152,17 +1152,6 @@ _cairo_surface_fallback_snapshot (cairo_surface_t *surface) return _cairo_surface_create_in_error (status); } - status = _cairo_surface_copy_mime_data (snapshot, surface); - if (unlikely (status)) { - cairo_surface_destroy (snapshot); - return _cairo_surface_create_in_error (status); - } - - snapshot->device_transform = surface->device_transform; - snapshot->device_transform_inverse = surface->device_transform_inverse; - - snapshot->is_snapshot = TRUE; - return snapshot; } |