diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-28 18:57:15 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-09-28 18:59:43 +0100 |
commit | 0a7d781ab020171e70bd1dc66ff1556106e5be3f (patch) | |
tree | a5923a259ef7a6527e947c6cac4edcec8176f7b1 /perf/cairo-perf.c | |
parent | d52b55cb1b2a4e9b5fd8dd12592a227f8f6a93fc (diff) | |
download | cairo-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.c')
-rw-r--r-- | perf/cairo-perf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index 38c711901..0a1e370c6 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -454,6 +454,7 @@ const cairo_perf_case_t perf_cases[] = { { long_lines, 100, 100}, { unaligned_clip, 100, 100}, { rectangles, 512, 512}, + { rounded_rectangles, 512, 512}, { long_dashed_lines, 512, 512}, { NULL } }; |