diff options
author | Carl Worth <cworth@cworth.org> | 2005-12-19 22:01:39 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-12-19 22:01:39 +0000 |
commit | 75b2fe93f09324b509630d86e0b01de830d853cf (patch) | |
tree | 02decfa71d780dae0c5921db6c9e87fab59adff6 /src/test-fallback-surface.c | |
parent | 606d23b2874288c18f7373ffa47b0fb6b63b3451 (diff) |
Use _cairo_surface_paint rather than _cairo_surface_fill_rectangle as only the former is guaranteed to work with all backends.
Refine the comment describing this test surface.
Add new test surface for exercising cairo_meta_surface.
Simplify the image and test_fallback targets by not using create_for_data. Allow for NULL cleanup target functions. Add support for the test_meta_surface.
Diffstat (limited to 'src/test-fallback-surface.c')
-rw-r--r-- | src/test-fallback-surface.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test-fallback-surface.c b/src/test-fallback-surface.c index b538668c..0d3f7412 100644 --- a/src/test-fallback-surface.c +++ b/src/test-fallback-surface.c @@ -38,8 +38,12 @@ * fallbacks. * * The defining feature of this backend is that it has as many NULL - * backend function entries as possible, (and it might be worth - * working to try to allow one or two more to be NULL as well). + * backend function entries as possible. The ones that aren't NULL are + * simply those that must be implemented to have working fallbacks. + * (Except for create_similar---fallbacks would work fine without + * that---I implemented it here in order to create as many surfaces as + * possible of type test_fallback_surface_t during the test suite + * run). * * It's possible that this code might serve as a good starting point * for someone working on bringing up a new backend, starting with the |