diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-03-08 15:54:01 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-08 15:54:12 +0000 |
commit | fe462efbcb105914e4c4bbf689525b530a438773 (patch) | |
tree | b0cdff09f2988f61e7490cfb25621b4505c9119e /gn/gpu.gni | |
parent | 4997e14c80f133ad43ce17e7b6adab55a37b9ada (diff) |
Revert "ccpr: Simplify triangle corners"
This reverts commit 622650a1949f9a68793ac895d9fbadee7177d860.
Reason for revert: Going to try to improve AAA quality on curve corners
Original change's description:
> ccpr: Simplify triangle corners
>
> Modifies triangle corner shaders to just approximate their coverage with
> linear values that ramp to zero at bloat vertices outside the triangle.
>
> For the vertex backend, since corners now have the same fragment shader
> as the rest of the triangle, we fold them in with the other steps and
> draw triangles in a single pass.
>
> The geometry backend still draws triangles in two passes, as there is
> not an apparent performance advantage in combining them.
>
> Bug: skia:
> Change-Id: Ib4a89d793a3c706f734d0271875c8a3e5c87c49b
> Reviewed-on: https://skia-review.googlesource.com/112632
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
TBR=bsalomon@google.com,csmartdalton@google.com
Change-Id: I45e7b9d7d7f8452b28bd54ca1e90a1f046cb2462
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/113180
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'gn/gpu.gni')
-rw-r--r-- | gn/gpu.gni | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni index 82f50ba905..27a50a9a70 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -314,6 +314,8 @@ skia_gpu_sources = [ "$_src/gpu/ccpr/GrCCPathProcessor.h", "$_src/gpu/ccpr/GrCCQuadraticShader.cpp", "$_src/gpu/ccpr/GrCCQuadraticShader.h", + "$_src/gpu/ccpr/GrCCTriangleShader.cpp", + "$_src/gpu/ccpr/GrCCTriangleShader.h", "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp", "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.h", |