diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2008-07-11 00:59:47 +0300 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2008-12-06 14:04:36 +0200 |
commit | 4a9b274eebe674bbc5c66dc3e33256723cdf9829 (patch) | |
tree | ef6445766c969c24848f0cc3317a0c68c20df24d /src/cairo-beos-surface.cpp | |
parent | 948c3526dcdbc440395fff4ce9bf4b7553930d92 (diff) |
[cairo-spans] Add a check/create_span_renderer backend methods.
A surface will have the chance to use span rendering at cairo_fill()
time by creating a renderer for a specific combination of
pattern/dst/op before the path is scan converted. The protocol is to
first call check_span_renderer() to see if the surface wants to render
with spans and then later call create_span_renderer() to create the
renderer for real once the extents of the path are known.
No backends have an implementation yet.
Diffstat (limited to 'src/cairo-beos-surface.cpp')
-rw-r--r-- | src/cairo-beos-surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-beos-surface.cpp b/src/cairo-beos-surface.cpp index ec4aff03..e527272e 100644 --- a/src/cairo-beos-surface.cpp +++ b/src/cairo-beos-surface.cpp @@ -895,6 +895,8 @@ static const struct _cairo_surface_backend cairo_beos_surface_backend = { _cairo_beos_surface_composite, /* composite */ _cairo_beos_surface_fill_rectangles, NULL, /* composite_trapezoids */ + NULL, /* create_span_renderer */ + NULL, /* check_span_renderer */ NULL, /* copy_page */ NULL, /* show_page */ _cairo_beos_surface_set_clip_region, |