summaryrefslogtreecommitdiff
path: root/perf/box-outline.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-06-02 00:37:19 -0700
committerEric Anholt <eric@anholt.net>2009-06-02 00:56:39 -0700
commitf59f44c140e5f60d336423e0585d2bb8a6c0ea01 (patch)
treeb0e1369a4aedfb6ee288fd29264177e881021850 /perf/box-outline.c
parent2da78fd4666faa27d037ae3625ca83353a6e7629 (diff)
parent4232719af968ed05636fe34f2ffe2520dc02d737 (diff)
Merge commit 'origin/master' into gl
Felt like pulling the latest stuff, since I branched back in February. Conflicts: build/configure.ac.features src/cairo.h util/cairo-script/csi-replay.c
Diffstat (limited to 'perf/box-outline.c')
-rw-r--r--perf/box-outline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perf/box-outline.c b/perf/box-outline.c
index 74dd19ad..2d826e68 100644
--- a/perf/box-outline.c
+++ b/perf/box-outline.c
@@ -88,6 +88,9 @@ box_outline_fill (cairo_t *cr, int width, int height)
void
box_outline (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
+ if (! cairo_perf_can_run (perf, "box-outline"))
+ return;
+
cairo_perf_run (perf, "box-outline-stroke", box_outline_stroke);
cairo_perf_run (perf, "box-outline-fill", box_outline_fill);
}