aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsCubicReduceOrderTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-25 14:36:58 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-25 14:36:58 +0000
commit111417aae90beb459bcd77397270d67ca3731e69 (patch)
tree1361476cc28d1edf52deb9ee0505d5f0267aa634 /tests/PathOpsCubicReduceOrderTest.cpp
parent927b7028d44c46e9cbc18368f16ec2262d59d94d (diff)
remove unused static function
git-svn-id: http://skia.googlecode.com/svn/trunk@12378 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsCubicReduceOrderTest.cpp')
-rw-r--r--tests/PathOpsCubicReduceOrderTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PathOpsCubicReduceOrderTest.cpp b/tests/PathOpsCubicReduceOrderTest.cpp
index 3702ead694..54ff541bcf 100644
--- a/tests/PathOpsCubicReduceOrderTest.cpp
+++ b/tests/PathOpsCubicReduceOrderTest.cpp
@@ -40,6 +40,7 @@ static bool tiny(const SkDCubic& cubic) {
&& approximately_equal(cubic[maxY].fY, cubic[minY].fY);
}
+#if 0 // disable test until stroke reduction is supported
static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
SkDCubicPair cubicPair = cubic.chopAt(0.5);
if (!tiny(cubicPair.first()) && !controls_inside(cubicPair.first())) {
@@ -55,6 +56,7 @@ static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
bounds.add(cubicPair.second()[3]);
}
}
+#endif
static void PathOpsReduceOrderCubicTest(skiatest::Reporter* reporter) {
size_t index;