diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2013-11-08 14:20:45 -0800 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2013-11-08 14:20:45 -0800 |
| commit | 26daa3b949f4d0cf6b370972afbc827aaf181ea7 (patch) | |
| tree | 88f498be6799356da001da88e1772962a3ce7efb /src/cairo-tests/mask.cpp | |
| parent | d1b294eecc1bcc04524ac9dafde81e40334da530 (diff) | |
Make the test complexity a control variable
Diffstat (limited to 'src/cairo-tests/mask.cpp')
| -rw-r--r-- | src/cairo-tests/mask.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cairo-tests/mask.cpp b/src/cairo-tests/mask.cpp index 387a16c..1ad29bc 100644 --- a/src/cairo-tests/mask.cpp +++ b/src/cairo-tests/mask.cpp @@ -22,6 +22,8 @@ ca_teardown_mask(void) int ca_test_mask(caskbench_context_t *ctx) { - cairo_mask (ctx->cr, mask); + int i; + for (i=0; i<ctx->size; i++) + cairo_mask (ctx->cr, mask); return 1; } |