summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/fill.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2013-11-07 21:32:35 -0800
committerBryce Harrington <b.harrington@samsung.com>2013-11-07 21:32:35 -0800
commitf25f5b8d15bae9674f4d81b97f337864ad62846c (patch)
tree02d911324fc9cd382aa4f1a816fc304b764ebf3a /src/cairo-tests/fill.cpp
parentf19601219a5d519de1e0923e5c7ae5d74bf38784 (diff)
Integrate skia tests
This merges skia into the build system, however: * It does not yet build the skia tests themselves * Paths are hardcoded to my personal paths * The cmake rules are rather brute forced
Diffstat (limited to 'src/cairo-tests/fill.cpp')
-rw-r--r--src/cairo-tests/fill.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cairo-tests/fill.cpp b/src/cairo-tests/fill.cpp
index 7efbe54..7189887 100644
--- a/src/cairo-tests/fill.cpp
+++ b/src/cairo-tests/fill.cpp
@@ -5,7 +5,7 @@
#include "caskbench.h"
int
-ca_setup_fill(cairo_t *cr)
+ca_setup_fill(caskbench_context_t *ctx)
{
return 1;
}
@@ -16,13 +16,13 @@ ca_teardown_fill(void)
}
int
-ca_test_fill(cairo_t *cr)
+ca_test_fill(caskbench_context_t *ctx)
{
int i;
for (i=0; i<32; i++) {
- randomize_color (cr);
- cairo_arc (cr, 40*i, 40, 30, 0, 2*M_PI);
- cairo_fill_preserve (cr);
+ randomize_color (ctx->cr);
+ cairo_arc (ctx->cr, 40*i, 40, 30, 0, 2*M_PI);
+ cairo_fill_preserve (ctx->cr);
}
return 1;
}