Fix stroking of zero length paths with end caps on NVPR
authorkkinnunen <kkinnunen@nvidia.com>
Tue, 1 Dec 2015 12:35:37 +0000 (04:35 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 1 Dec 2015 12:35:37 +0000 (04:35 -0800)
commit1e2913e7cb8c8122151cabd0aa6c77011253e95b
treed1c91ed5d3fac1ea1b113394a58bcb32eef4676d
parent1530283c483cb88aa725bce50a6d193dd00ee570
Fix stroking of zero length paths with end caps on NVPR

Fix stroking of zero length paths with end caps on NVPR.
In case of such paths, stroke them using Skia and just
fill the path with NVPR.

BUG=skia:4427

Review URL: https://codereview.chromium.org/1471763002
src/gpu/gl/GrGLPath.cpp
src/gpu/gl/GrGLPath.h
src/gpu/gl/GrGLPathRange.cpp