From 24075f1bddbda1d90dfd6f041b8d6bdaf9c786dc Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 24 Aug 2007 14:16:43 +0100 Subject: [PATCH] [cairo-perf] Blacklist xlib-fallback. Do not try and create non-Render xlib surfaces as they explicitly do not support performance testing. --- perf/cairo-perf.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index 489ffdc21..388bfa7a6 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -78,6 +78,14 @@ target_is_measurable (cairo_boilerplate_target_t *target) return TRUE; } case CAIRO_SURFACE_TYPE_XLIB: + if (strcmp (target->name, "xlib-fallback") == 0) + { + return FALSE; + } + else + { + return TRUE; + } case CAIRO_SURFACE_TYPE_XCB: case CAIRO_SURFACE_TYPE_GLITZ: case CAIRO_SURFACE_TYPE_QUARTZ: