summaryrefslogtreecommitdiff
path: root/perf/cairo-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-09-28 18:57:15 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-09-28 18:59:43 +0100
commit0a7d781ab020171e70bd1dc66ff1556106e5be3f (patch)
treea5923a259ef7a6527e947c6cac4edcec8176f7b1 /perf/cairo-perf.h
parentd52b55cb1b2a4e9b5fd8dd12592a227f8f6a93fc (diff)
downloadcairo-0a7d781ab020171e70bd1dc66ff1556106e5be3f.tar.gz
[perf] Add rounded rectangle perf case.
Add the performance test case to compare the speed of filling a rounded rectangle (one with camphered corners) as opposed to an ordinary rectangle. Since the majority of the pixels are identical, ideally the two cases would take similar times (modulo the additional overhead in the more complex path).
Diffstat (limited to 'perf/cairo-perf.h')
-rw-r--r--perf/cairo-perf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perf/cairo-perf.h b/perf/cairo-perf.h
index 753f0455c..222251d27 100644
--- a/perf/cairo-perf.h
+++ b/perf/cairo-perf.h
@@ -110,6 +110,7 @@ CAIRO_PERF_DECL (mosaic);
CAIRO_PERF_DECL (long_lines);
CAIRO_PERF_DECL (unaligned_clip);
CAIRO_PERF_DECL (rectangles);
+CAIRO_PERF_DECL (rounded_rectangles);
CAIRO_PERF_DECL (long_dashed_lines);
#endif