changed kCurveConnectionThreshold in GrAAConvexTessellator
authorethannicholas <ethannicholas@google.com>
Tue, 30 Aug 2016 14:26:58 +0000 (07:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Aug 2016 14:26:58 +0000 (07:26 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2297563003
TBR=bsalomon@google.com

Review-Url: https://codereview.chromium.org/2297563003

src/gpu/batches/GrAAConvexTessellator.cpp

index 2c069f6..af3ce89 100644 (file)
@@ -30,7 +30,7 @@ static const SkScalar kConicTolerance = 0.5f;
 static const SkScalar kRoundCapThreshold = 0.8f;
 
 // dot product above which we consider two adjacent curves to be part of the "same" curve
-static const SkScalar kCurveConnectionThreshold = 0.95f;
+static const SkScalar kCurveConnectionThreshold = 0.8f;
 
 static SkScalar intersect(const SkPoint& p0, const SkPoint& n0,
                           const SkPoint& p1, const SkPoint& n1) {