summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/fill.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2013-11-08 14:20:45 -0800
committerBryce Harrington <b.harrington@samsung.com>2013-11-08 14:20:45 -0800
commit26daa3b949f4d0cf6b370972afbc827aaf181ea7 (patch)
tree88f498be6799356da001da88e1772962a3ce7efb /src/cairo-tests/fill.cpp
parentd1b294eecc1bcc04524ac9dafde81e40334da530 (diff)
Make the test complexity a control variable
Diffstat (limited to 'src/cairo-tests/fill.cpp')
-rw-r--r--src/cairo-tests/fill.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-tests/fill.cpp b/src/cairo-tests/fill.cpp
index 7189887..e9bc4cd 100644
--- a/src/cairo-tests/fill.cpp
+++ b/src/cairo-tests/fill.cpp
@@ -19,10 +19,10 @@ int
ca_test_fill(caskbench_context_t *ctx)
{
int i;
- for (i=0; i<32; i++) {
+ for (i=0; i<ctx->size; i++) {
randomize_color (ctx->cr);
cairo_arc (ctx->cr, 40*i, 40, 30, 0, 2*M_PI);
- cairo_fill_preserve (ctx->cr);
+ cairo_fill (ctx->cr);
}
return 1;
}