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-test-surfaces.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-test-surfaces.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-test-surfaces.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-test-surfaces.c b/boilerplate/cairo-boilerplate-test-surfaces.c index 3e7490ec5..7a3a16b98 100644 --- a/boilerplate/cairo-boilerplate-test-surfaces.c +++ b/boilerplate/cairo-boilerplate-test-surfaces.c @@ -233,6 +233,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-fallback", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK, CAIRO_CONTENT_COLOR_ALPHA, 0, + "_cairo_test_fallback_surface_create", _cairo_boilerplate_test_fallback_create_surface, NULL, NULL, _cairo_boilerplate_get_image_surface, @@ -242,6 +243,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-fallback", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK, CAIRO_CONTENT_COLOR, 0, + "_cairo_test_fallback_surface_create", _cairo_boilerplate_test_fallback_create_surface, NULL, NULL, _cairo_boilerplate_get_image_surface, @@ -251,6 +253,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-fallback16", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK, CAIRO_CONTENT_COLOR_ALPHA, 0, + "_cairo_test_fallback16_surface_create", _cairo_boilerplate_test_fallback16_create_surface, NULL, NULL, NULL, /* _cairo_boilerplate_get_image_surface, */ @@ -260,6 +263,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-fallback16", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK, CAIRO_CONTENT_COLOR, 0, + "_cairo_test_fallback16_surface_create", _cairo_boilerplate_test_fallback16_create_surface, NULL, NULL, NULL, /* _cairo_boilerplate_get_image_surface, */ @@ -270,6 +274,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-paginated", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_PAGINATED, CAIRO_CONTENT_COLOR_ALPHA, 0, + "_cairo_test_paginated_surface_create", _cairo_boilerplate_test_paginated_create_surface, NULL, NULL, _cairo_boilerplate_test_paginated_get_image_surface, @@ -282,6 +287,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-paginated", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_PAGINATED, CAIRO_CONTENT_COLOR, 0, + "_cairo_test_paginated_surface_create", _cairo_boilerplate_test_paginated_create_surface, NULL, NULL, _cairo_boilerplate_test_paginated_get_image_surface, @@ -296,6 +302,7 @@ static const cairo_boilerplate_target_t targets[] = { "test-wrapping", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_TEST_WRAPPING, CAIRO_CONTENT_COLOR_ALPHA, 0, + "_cairo_test_wrapping_surface_create", _cairo_boilerplate_test_wrapping_create_surface, NULL, NULL, _cairo_boilerplate_get_image_surface, @@ -307,6 +314,7 @@ static const cairo_boilerplate_target_t targets[] = { "null", "image", NULL, NULL, CAIRO_INTERNAL_SURFACE_TYPE_NULL, CAIRO_CONTENT_COLOR_ALPHA, 0, + "_cairo_test_null_surface_create", _cairo_boilerplate_test_null_create_surface, NULL, NULL, NULL, NULL, NULL, |