aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-02-16 15:21:27 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-16 21:08:32 +0000
commitdc0cae19b4f84e9e91f48bdb132a1c4828a7b329 (patch)
treecde4cb3976f3a8f940d0767afb4dcfe1d999a071
parentdd768fa29babfec80f94e1854c66f228dfc19d67 (diff)
Let DFPathRenderer accept smaller paths.
BUG=chromium:682918 Change-Id: Ib5f935a92f967354be696fb24ba874f3602ebdb4 Reviewed-on: https://skia-review.googlesource.com/8601 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
-rw-r--r--src/gpu/ops/GrAADistanceFieldPathRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrAADistanceFieldPathRenderer.cpp b/src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
index 17cd24421e..0bc356db81 100644
--- a/src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
+++ b/src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
@@ -42,7 +42,7 @@ static int g_NumFreedShapes = 0;
static const SkScalar kMaxMIP = 162;
static const SkScalar kMaxDim = 73;
-static const SkScalar kMinSize = 8;
+static const SkScalar kMinSize = 4;
static const SkScalar kMaxSize = 2*kMaxMIP;
// Callback to clear out internal path cache when eviction occurs