diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-12-17 20:34:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-12-18 12:06:45 +0000 |
commit | ce0b136a441382b25d0932cd66a906a30a693365 (patch) | |
tree | d64c849ee6f914aa309fb2016c3bc54ca266b423 /src/cairo-paginated-surface.c | |
parent | 0df43251d4b4641d16c0a2e2c49d18dd2a9c832e (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c index ce4e4def..5d4e08fa 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 }; |