[gl] Enable GL backend for cairo-perf-trace

This commit is contained in:
Chris Wilson 2009-07-22 07:52:30 +01:00
parent fed0006203
commit bfbe875ded
2 changed files with 6 additions and 1 deletions

View file

@ -110,6 +110,9 @@ target_is_measurable (const cairo_boilerplate_target_t *target)
#endif
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1,9,3)
case CAIRO_INTERNAL_SURFACE_TYPE_NULL:
#endif
#if CAIRO_HAS_GL_SURFACE
case CAIRO_SURFACE_TYPE_GL:
#endif
return TRUE;
case CAIRO_SURFACE_TYPE_PDF:

View file

@ -90,7 +90,6 @@ target_is_measurable (const cairo_boilerplate_target_t *target)
return TRUE;
}
case CAIRO_SURFACE_TYPE_XCB:
case CAIRO_SURFACE_TYPE_GL:
case CAIRO_SURFACE_TYPE_GLITZ:
case CAIRO_SURFACE_TYPE_QUARTZ:
case CAIRO_SURFACE_TYPE_WIN32:
@ -101,6 +100,9 @@ target_is_measurable (const cairo_boilerplate_target_t *target)
#endif
#if CAIRO_VERSION > CAIRO_VERSION_ENCODE(1,9,4)
case CAIRO_SURFACE_TYPE_QT:
#endif
#if CAIRO_HAS_GL_SURFACE
case CAIRO_SURFACE_TYPE_GL:
#endif
return TRUE;