summaryrefslogtreecommitdiff
path: root/src/cairo-paginated-surface.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-12-17 20:34:45 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-12-18 12:06:45 +0000
commitce0b136a441382b25d0932cd66a906a30a693365 (patch)
treed64c849ee6f914aa309fb2016c3bc54ca266b423 /src/cairo-paginated-surface.c
parent0df43251d4b4641d16c0a2e2c49d18dd2a9c832e (diff)
Query the backend to see if we can repaint the solid pattern.
If we are dithering on the Xlib backend we can not simply repaint the surface used for a solid pattern and must recreate it from scratch. However, for ordinary XRender usage we do not want to have to pay that price - so query the backend to see if we can reuse the surface.
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 ce4e4defc..5d4e08fa8 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -701,6 +701,7 @@ static const cairo_surface_backend_t cairo_paginated_surface_backend = {
NULL, /* reset */
NULL, /* fill_stroke */
NULL, /* create_solid_pattern_surface */
+ NULL, /* can_repaint_solid_pattern_surface */
_cairo_paginated_surface_has_show_text_glyphs,
_cairo_paginated_surface_show_text_glyphs
};