mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 08:48:00 +02:00
[gl] Enable GL backend for cairo-perf-trace
This commit is contained in:
parent
fed0006203
commit
bfbe875ded
2 changed files with 6 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue