diff options
author | Chris Dalton <csmartdalton@google.com> | 2017-11-06 13:48:04 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-07 17:28:34 +0000 |
commit | 4c92d4aa3ed653afdff9996b90a1139ed1dc9420 (patch) | |
tree | 33ab60f731462de4747188e0307ba8f76d4ec19a /gn | |
parent | fbe0793526526ae47f02c7a011e29c401ef191f4 (diff) |
Don't use analytic clip FPs when drawing to stencil
It doesn't make sense to multiply by coverage when drawing to stencil.
This could theoretically work with FPs that discard and/or modify
the sample mask, but for the time being an analytic FP means one that
calculates a coverage value.
Bug: skia:7190
Change-Id: Ic40cf6c19c377cba80bad458993582f5cc07022a
Reviewed-on: https://skia-review.googlesource.com/67423
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/gpu.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni index 185d6d899e..c364c29f03 100644 --- a/gn/gpu.gni +++ b/gn/gpu.gni @@ -177,6 +177,7 @@ skia_gpu_sources = [ "$_src/gpu/GrShape.h", "$_src/gpu/GrStencilAttachment.cpp", "$_src/gpu/GrStencilAttachment.h", + "$_src/gpu/GrStencilClip.h", "$_src/gpu/GrStencilSettings.cpp", "$_src/gpu/GrStencilSettings.h", "$_src/gpu/GrStyle.cpp", |