Revert "Use SDF path miplevels based on the original path's size."
authorJim Van Verth <jvanverth@google.com>
Fri, 10 Feb 2017 21:45:43 +0000 (21:45 +0000)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 10 Feb 2017 21:45:59 +0000 (21:45 +0000)
commit8600b1b3d622969039e11a9f5dee2795b96490fc
tree6b6cf2481e10f0629ec91cc740af446298036e9b
parent6e83b13c226246041a33dc7bf0e92626581b5e79
Revert "Use SDF path miplevels based on the original path's size."

This reverts commit 6e83b13c226246041a33dc7bf0e92626581b5e79.

Reason for revert: Fractional path sizes are causing asserts on the bots.

Original change's description:
> Use SDF path miplevels based on the original path's size.
>
> Should produce sharper results than arbitrary fixed sizes.
> Adds a new test to pathfill GM.
>
> BUG=chromium:682918
>
> Change-Id: I5a394098665d01e995a244fde278236f1471e6c9
> Reviewed-on: https://skia-review.googlesource.com/8328
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
>

TBR=jvanverth@google.com,bsalomon@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:682918

Change-Id: I4a52df808ef3f769d0e6f75785148d46936a6747
Reviewed-on: https://skia-review.googlesource.com/8342
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
gm/convexpaths.cpp
gm/pathfill.cpp
src/core/SkMathPriv.h
src/gpu/ops/GrAADistanceFieldPathRenderer.cpp