summaryrefslogtreecommitdiff
path: root/src/cairo-paginated-surface.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2008-07-08 21:12:54 +0930
committerAdrian Johnson <ajohnson@redneon.com>2008-07-08 21:12:54 +0930
commit4fcdc364cd3f9d7d5cd8026adac23a651b608781 (patch)
treef3e0c027c4b34c603fda5542da0b2c76e595a9c5 /src/cairo-paginated-surface.c
parent0c05aa60f5bfa4b6f280aedec684c20aed793a90 (diff)
Add paginated surface backend function _set_fallback_images_required
Diffstat (limited to 'src/cairo-paginated-surface.c')
-rw-r--r--src/cairo-paginated-surface.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cairo-paginated-surface.c b/src/cairo-paginated-surface.c
index 9deefc6e..248edb41 100644
--- a/src/cairo-paginated-surface.c
+++ b/src/cairo-paginated-surface.c
@@ -316,6 +316,15 @@ _paint_page (cairo_paginated_surface_t *surface)
goto FAIL;
}
+ if (surface->backend->set_fallback_images_required) {
+ cairo_bool_t has_fallbacks = _cairo_analysis_surface_has_unsupported (analysis);
+
+ status = surface->backend->set_fallback_images_required (surface->target,
+ has_fallbacks);
+ if (status)
+ goto FAIL;
+ }
+
surface->backend->set_paginated_mode (surface->target, CAIRO_PAGINATED_MODE_RENDER);
/* Finer grained fallbacks are currently only supported for some