diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-04-05 18:43:40 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-06 15:59:43 +0000 |
commit | 4c2393493ad6d5f72eecd1190fee20cce732b959 (patch) | |
tree | d72cfd780ec5087ea141e7d9d7290e3424e3f348 /gn/gpu.gni | |
parent | 0cfd547b465a3611506dc4c4c0ba973ccb2e7f30 (diff) |
ccpr: Make curve corners more seamless
Interpolates the acual curve's local coverage values from the corner
box vertices, rather than an approximation based on the tangent.
Clamps curve segment total coverage values above 0. This prevents us
from using negative coverage (which is obviously wrong) when the curve
approximation function is slightly inaccurate. Moves
GrCCTriangleShader.h into GrCCCoverageProcessor.cpp.
Bug: skia:
Change-Id: I95de8e940c1508d4a359f5f802c3a688f2b84094
Reviewed-on: https://skia-review.googlesource.com/119066
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'gn/gpu.gni')
-rw-r--r-- | gn/gpu.gni | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni index 6aa950fc11..b3f4eb1680 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -314,7 +314,6 @@ skia_gpu_sources = [ "$_src/gpu/ccpr/GrCCPathProcessor.h", "$_src/gpu/ccpr/GrCCQuadraticShader.cpp", "$_src/gpu/ccpr/GrCCQuadraticShader.h", - "$_src/gpu/ccpr/GrCCTriangleShader.h", "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp", "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.h", |