summaryrefslogtreecommitdiff
path: root/src/cairo-paginated-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-04-28 14:26:21 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-04-30 10:16:24 +0100
commit8ded35fd69ed0bbb07359c0278071a25af66571c (patch)
treee6b44acf234b3399306240600c29f470e6045e92 /src/cairo-paginated-surface.c
parent5fc04bba9fa8ddda8cf7d7a97015f21a21429172 (diff)
downloadcairo-8ded35fd69ed0bbb07359c0278071a25af66571c.tar.gz
ps: Enable native encoding of subsurface patterns.
Carefully handle subsurfaces of a recording surface through the analysis and paginated surfaces so that we can generate a native pattern for the vector backends, demonstrated by the PostScript backend. Nothing remarkable, just a lot of bookkeeping to track the wrapped surface types and to apply the correct offsets when generating the subsurface pattern.
Diffstat (limited to 'src/cairo-paginated-surface.c')
-rw-r--r--src/cairo-paginated-surface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c
index 4cb850388..a2c61ddc0 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -362,6 +362,7 @@ _paint_page (cairo_paginated_surface_t *surface)
CAIRO_PAGINATED_MODE_RENDER);
status = _cairo_recording_surface_replay_region (surface->recording_surface,
+ NULL,
surface->target,
CAIRO_RECORDING_REGION_NATIVE);
assert (status != CAIRO_INT_STATUS_UNSUPPORTED);