GrTessellator AA: fix 1px wide paths.
authorStephen White <senorblanco@chromium.org>
Fri, 5 May 2017 19:54:52 +0000 (15:54 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 8 May 2017 15:43:40 +0000 (15:43 +0000)
commitff60b17f6772722235e05217f9780acd8399bc5d
treed9c6f4998efc3db99f8451717f3d8355a9cb10c5
parent63f717da11c7dbb65cb05e97dac660bf505853a2
GrTessellator AA: fix 1px wide paths.

Move 0 count check below the call to count outer polygons,
so we don't abort on a path with outer but no inner
geometry.

This fixes the "thin_right_angle" and "thin_rect_and_triangle"
samples when running GM:thinconcavepaths --pr tess.

Change-Id: I9a75711787f729ce3a1d5313daa491098e397184
Reviewed-on: https://skia-review.googlesource.com/15661
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
src/gpu/GrTessellator.cpp