[cairo-commit] perf/cairo-perf.c perf/cairo-perf-trace.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Jun 30 14:23:31 PDT 2009


 perf/cairo-perf-trace.c |    3 ++-
 perf/cairo-perf.c       |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 1564d67d63618e12c58dc1d65c7e68505950e4d4
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Jun 30 22:22:39 2009 +0100

    [perf] Exclude the xlib-reference target from cairo-perf

diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c
index f3cff0a..cc54649 100644
--- a/perf/cairo-perf-trace.c
+++ b/perf/cairo-perf-trace.c
@@ -87,7 +87,8 @@ target_is_measurable (const cairo_boilerplate_target_t *target)
 	    return TRUE;
 	}
     case CAIRO_SURFACE_TYPE_XLIB:
-	if (strcmp (target->name, "xlib-fallback") == 0)
+	if (strcmp (target->name, "xlib-fallback") == 0 ||
+	    strcmp (target->name, "xlib-reference") == 0)
 	{
 	    return FALSE;
 	}
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c
index 40cc28a..35a89b5 100644
--- a/perf/cairo-perf.c
+++ b/perf/cairo-perf.c
@@ -80,7 +80,8 @@ target_is_measurable (const cairo_boilerplate_target_t *target)
 	    return TRUE;
 	}
     case CAIRO_SURFACE_TYPE_XLIB:
-	if (strcmp (target->name, "xlib-fallback") == 0)
+	if (strcmp (target->name, "xlib-fallback") == 0 ||
+	    strcmp (target->name, "xlib-reference") == 0)
 	{
 	    return FALSE;
 	}


More information about the cairo-commit mailing list