diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-03-27 21:52:16 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-03-27 21:53:55 +0000 |
commit | 97f8c20727eaeb2dfddb0d4796192cc042eb14fa (patch) | |
tree | 87a4a060c395ed7f5704d4b37026d8f163ed06d7 /boilerplate/cairo-boilerplate-xlib.c | |
parent | 022291be1cbddf4f6722f0bf76ebda6922780276 (diff) |
boilerplate: Create an image16 target
In order to exercise the newly restored r5g6g5 support, we need to
create an appropriate surface and feed it through the test and
performance suites.
Diffstat (limited to 'boilerplate/cairo-boilerplate-xlib.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xlib.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/boilerplate/cairo-boilerplate-xlib.c b/boilerplate/cairo-boilerplate-xlib.c index fe54d988..1ddaaf40 100644 --- a/boilerplate/cairo-boilerplate-xlib.c +++ b/boilerplate/cairo-boilerplate-xlib.c @@ -445,7 +445,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xlib_cleanup, - _cairo_boilerplate_xlib_synchronize + _cairo_boilerplate_xlib_synchronize, + TRUE, FALSE, FALSE }, { "xlib", "xlib", NULL, "xlib-reference", @@ -456,7 +457,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xlib_cleanup, - _cairo_boilerplate_xlib_synchronize + _cairo_boilerplate_xlib_synchronize, + FALSE, FALSE, FALSE }, { "xlib-reference", "xlib", NULL, NULL, @@ -467,7 +469,8 @@ static const cairo_boilerplate_target_t targets[] = { NULL, /* get_image */ cairo_surface_write_to_png, _cairo_boilerplate_xlib_cleanup, - _cairo_boilerplate_xlib_synchronize + _cairo_boilerplate_xlib_synchronize, + FALSE, FALSE, FALSE }, #endif #if CAIRO_HAS_XLIB_SURFACE @@ -482,7 +485,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xlib_cleanup, - _cairo_boilerplate_xlib_synchronize + _cairo_boilerplate_xlib_synchronize, + FALSE, FALSE, FALSE }, #endif }; |