From 13690032ef2bbbe68ff9a66179eb8c03f20c0942 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Wed, 11 Jun 2014 18:41:22 -0700 Subject: canvas_perf: Run the rect testcase --- src/cairo-tests/rect.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/cairo-tests/rect.cpp (limited to 'src/cairo-tests/rect.cpp') diff --git a/src/cairo-tests/rect.cpp b/src/cairo-tests/rect.cpp new file mode 100644 index 0000000..cb6e35d --- /dev/null +++ b/src/cairo-tests/rect.cpp @@ -0,0 +1,43 @@ +/* + * Copyright 2014 © Samsung Research America, Silicon Valley + * + * Use of this source code is governed by the 3-Clause BSD license + * specified in the COPYING file included with this source code. + */ +#include + +#include +#include +#include + +#include "caskbench.h" +#include "caskbench_context.h" +#include "cairo-shapes.h" + +int +ca_setup_rect(caskbench_context_t *ctx) +{ + return 1; +} + +void +ca_teardown_rect(void) +{ +} + +int +ca_test_rect(caskbench_context_t *ctx) +{ + return 1; +} + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : -- cgit v1.3.1-4-g156e