diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-23 15:25:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 17:07:38 +0100 |
commit | 8078cd194e95a10cf653c970d1ddd39049a511f2 (patch) | |
tree | 4ee7f0d49ef3eb37fbae0ae2d9ad0a5e613cdfc1 /boilerplate/cairo-boilerplate-svg.c | |
parent | 7447915381fc64bd0c66f7110c1dd0b8a10d73f5 (diff) | |
download | cairo-8078cd194e95a10cf653c970d1ddd39049a511f2.tar.gz |
[boilerplate] Runtime library check
For the purposes of benchmarking it is useful to run cairo-perf against a
different library from the one it was compiled against. In order to do so,
we need to check that the runtime library contains the required entry
points for our targets - which we can check by using dlsym.
Diffstat (limited to 'boilerplate/cairo-boilerplate-svg.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-svg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c index 56296f46f..a8a4d8b91 100644 --- a/boilerplate/cairo-boilerplate-svg.c +++ b/boilerplate/cairo-boilerplate-svg.c @@ -274,6 +274,7 @@ static const cairo_boilerplate_target_t targets[] = { { "svg11", "svg", NULL, NULL, CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1, + "cairo_svg_surface_create", _cairo_boilerplate_svg11_create_surface, _cairo_boilerplate_svg_force_fallbacks, _cairo_boilerplate_svg_finish_surface, @@ -285,6 +286,7 @@ static const cairo_boilerplate_target_t targets[] = { { "svg11", "svg", NULL, NULL, CAIRO_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 1, + "cairo_svg_surface_create", _cairo_boilerplate_svg11_create_surface, _cairo_boilerplate_svg_force_fallbacks, _cairo_boilerplate_svg_finish_surface, @@ -296,6 +298,7 @@ static const cairo_boilerplate_target_t targets[] = { { "svg12", "svg", NULL, NULL, CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1, + "cairo_svg_surface_create", _cairo_boilerplate_svg12_create_surface, _cairo_boilerplate_svg_force_fallbacks, _cairo_boilerplate_svg_finish_surface, @@ -307,6 +310,7 @@ static const cairo_boilerplate_target_t targets[] = { { "svg12", "svg", NULL, NULL, CAIRO_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 1, + "cairo_svg_surface_create", _cairo_boilerplate_svg12_create_surface, _cairo_boilerplate_svg_force_fallbacks, _cairo_boilerplate_svg_finish_surface, |