diff options
author | 2018-02-12 17:29:48 +0000 | |
---|---|---|
committer | 2018-02-12 17:29:59 +0000 | |
commit | 82040a9a056cd830027e255c7da845dcb5c026ed (patch) | |
tree | af14cf2fb86b11c3ec24f721696bd596c159b79f /src/gpu/ccpr/GrCCGeometry.cpp | |
parent | 4138c972effe4eb0227fbb96571df290f3d1979b (diff) |
Revert "ccpr: Tessellate fans for very large and/or simple paths"
This reverts commit 4138c972effe4eb0227fbb96571df290f3d1979b.
Reason for revert: broke android flutter build
Original change's description:
> ccpr: Tessellate fans for very large and/or simple paths
>
> This increases CPU work, but reduces overdraw on the GPU as compared to
> Redbook fanning.
>
> Bug: skia:
> Change-Id: I47239c964261e0014a94266a71223eab0597bfb8
> Reviewed-on: https://skia-review.googlesource.com/105203
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
TBR=bsalomon@google.com,csmartdalton@google.com
Change-Id: I98b5c10b97c3fa603de5122d9bb47ca07659242c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/106620
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'src/gpu/ccpr/GrCCGeometry.cpp')
-rw-r--r-- | src/gpu/ccpr/GrCCGeometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ccpr/GrCCGeometry.cpp b/src/gpu/ccpr/GrCCGeometry.cpp index 481f4e4725..19bc8747b7 100644 --- a/src/gpu/ccpr/GrCCGeometry.cpp +++ b/src/gpu/ccpr/GrCCGeometry.cpp @@ -30,7 +30,7 @@ void GrCCGeometry::beginContour(const SkPoint& devPt) { // Store the current verb count in the fTriangles field for now. When we close the contour we // will use this value to calculate the actual number of triangles in its fan. - fCurrContourTallies = {fVerbs.count(), 0, 0, 0}; + fCurrContourTallies = {fVerbs.count(), 0, 0}; fPoints.push_back(devPt); fVerbs.push_back(Verb::kBeginContour); |