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-xcb.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-xcb.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-xcb.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/boilerplate/cairo-boilerplate-xcb.c b/boilerplate/cairo-boilerplate-xcb.c index 0e5c3b94..5ddf3fa8 100644 --- a/boilerplate/cairo-boilerplate-xcb.c +++ b/boilerplate/cairo-boilerplate-xcb.c @@ -601,7 +601,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + TRUE, FALSE, FALSE }, { "xcb", "xlib", NULL, NULL, @@ -613,7 +614,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + FALSE, FALSE, FALSE }, { "xcb-window", "xlib", NULL, NULL, @@ -625,7 +627,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + FALSE, FALSE, FALSE }, { "xcb-window&", "xlib", NULL, NULL, @@ -637,7 +640,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + FALSE, FALSE, FALSE }, { "xcb-render-0.0", "xlib-fallback", NULL, NULL, @@ -649,7 +653,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + TRUE, FALSE, FALSE }, { "xcb-render-0.0", "xlib-fallback", NULL, NULL, @@ -661,7 +666,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + FALSE, FALSE, FALSE }, { "xcb-fallback", "xlib-fallback", NULL, NULL, @@ -673,7 +679,8 @@ static const cairo_boilerplate_target_t targets[] = { _cairo_boilerplate_get_image_surface, cairo_surface_write_to_png, _cairo_boilerplate_xcb_cleanup, - _cairo_boilerplate_xcb_synchronize + _cairo_boilerplate_xcb_synchronize, + FALSE, FALSE, FALSE }, }; CAIRO_BOILERPLATE (xcb, targets) |