diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-30 21:48:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-07-30 22:27:27 +0200 |
commit | 9f33f8453b4949cfdc63169d3acd7238f89379c2 (patch) | |
tree | 12e5c78b499fd12472e0daf34441baff999fd62d /test/api-special-cases.c | |
parent | 9f4d677e2a6dd0bfbbbe20de39f92177bfdfc0e8 (diff) | |
download | cairo-9f33f8453b4949cfdc63169d3acd7238f89379c2.tar.gz |
configure: Disable tee backend by default
We don't want to enable it by default when nobody uses it.
Diffstat (limited to 'test/api-special-cases.c')
-rw-r--r-- | test/api-special-cases.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/api-special-cases.c b/test/api-special-cases.c index b25197655..95a0a7c16 100644 --- a/test/api-special-cases.c +++ b/test/api-special-cases.c @@ -390,6 +390,8 @@ test_cairo_recording_surface_ink_extents (cairo_surface_t *surface) return x == 0 && y == 0 && w == 0 && h == 0 ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR; } +#if CAIRO_HAS_TEE_SURFACE + static cairo_test_status_t test_cairo_tee_surface_add (cairo_surface_t *surface) { @@ -422,6 +424,8 @@ test_cairo_tee_surface_index (cairo_surface_t *surface) return status ? CAIRO_TEST_SUCCESS : CAIRO_TEST_ERROR; } +#endif /* CAIRO_HAS_TEE_SURFACE */ + #if CAIRO_HAS_GL_SURFACE static cairo_test_status_t @@ -667,9 +671,11 @@ struct { TEST (cairo_surface_write_to_png_stream, -1, FALSE), #endif TEST (cairo_recording_surface_ink_extents, CAIRO_SURFACE_TYPE_RECORDING, FALSE), +#if CAIRO_HAS_TEE_SURFACE TEST (cairo_tee_surface_add, CAIRO_SURFACE_TYPE_TEE, TRUE), TEST (cairo_tee_surface_remove, CAIRO_SURFACE_TYPE_TEE, TRUE), TEST (cairo_tee_surface_index, CAIRO_SURFACE_TYPE_TEE, FALSE), +#endif #if CAIRO_HAS_GL_SURFACE TEST (cairo_gl_surface_set_size, CAIRO_SURFACE_TYPE_GL, TRUE), TEST (cairo_gl_surface_get_width, CAIRO_SURFACE_TYPE_GL, FALSE), |