More fixes for distance field paths
authorJim Van Verth <jvanverth@google.com>
Wed, 11 Jan 2017 19:17:00 +0000 (14:17 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 11 Jan 2017 20:03:15 +0000 (20:03 +0000)
commit7704754049cac4794f27496efa90acea963b8881
tree95c8cfedd9ecec0fc7206c624f9b59ae199d801e
parent82f44319159bb98dcacdbbec7ea643dde5ed024b
More fixes for distance field paths

Disables use of SDFs for very small paths (because of blurring) and
adds a border of 1 pixel in device space to handle antialiasing.

BUG=chromium:677889

Change-Id: Icd2f7e80323b1255f8de52b97360e9a2d995c765
Reviewed-on: https://skia-review.googlesource.com/6895
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
gm/pathfill.cpp
src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
src/gpu/ops/GrAADistanceFieldPathRenderer.h