diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2009-06-15 11:15:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 17:07:35 +0100 |
commit | d7faec024ac9f702c9bb305599ef8960a972491a (patch) | |
tree | d99af8ee33f9b2a020ecb89aea79baaec82489e1 /perf | |
parent | af6df4af51ad75a956e3b73542647206ab534bd2 (diff) |
Add skia backend
Originally written by Vladimir Vukicevic to investigate using Skia for
Mozilla, it provides a nice integration with a rather interesting code
base. By hooking Skia underneath Cairo it allows us to directly compare
code paths... which is interesting.
[updated by Chris Wilson]
Diffstat (limited to 'perf')
-rw-r--r-- | perf/cairo-perf-trace.c | 3 | ||||
-rw-r--r-- | perf/cairo-perf.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c index 52e54294..d442b634 100644 --- a/perf/cairo-perf-trace.c +++ b/perf/cairo-perf-trace.c @@ -113,6 +113,9 @@ target_is_measurable (const cairo_boilerplate_target_t *target) #if CAIRO_HAS_DRM_SURFACE case CAIRO_SURFACE_TYPE_DRM: #endif +#if CAIRO_HAS_SKIA_SURFACE + case CAIRO_SURFACE_TYPE_SKIA: +#endif return TRUE; case CAIRO_SURFACE_TYPE_PDF: case CAIRO_SURFACE_TYPE_PS: diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index 0d60fc66..b6436158 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -107,6 +107,9 @@ target_is_measurable (const cairo_boilerplate_target_t *target) #if CAIRO_HAS_DRM_SURFACE case CAIRO_SURFACE_TYPE_DRM: #endif +#if CAIRO_HAS_SKIA_SURFACE + case CAIRO_SURFACE_TYPE_SKIA: +#endif return TRUE; default: |