More fixes for distance field paths
authorJim Van Verth <jvanverth@google.com>
Wed, 11 Jan 2017 17:21:43 +0000 (12:21 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 11 Jan 2017 18:03:35 +0000 (18:03 +0000)
commitd081ff314f07104adacaadc3d0f8f13dc741f016
treef901365dd5ecfb32e284048fb8273a45d407fe1b
parentc456b73fef9589bbdc5eb83eaa83e53c357bb3da
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: I81e49477c943d41523fd836e55abd696a985491f
Reviewed-on: https://skia-review.googlesource.com/6832
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
gm/pathfill.cpp
src/gpu/ops/GrAADistanceFieldPathRenderer.cpp
src/gpu/ops/GrAADistanceFieldPathRenderer.h