commit | 6f5e94089e4e9e98008bf51bba9c0f47f2cb4a64 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Jan 22 10:39:31 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 22 16:10:04 2020 +0000 |
tree | f1d6276dd3ee0e6f0786967f33f66aa2962b5e36 | |
parent | 87c314210a39dd895354c35a8d035dfaa8ac01c4 [diff] |
Clamp GrSkSLFP output to valid premul Added this as an option to GrSaturateProcessor (also renamed it to be more generic and end with FragmentProcessor). Added a tweak to the unit test to check the new behavior. (Raster was already doing the clamp). Change-Id: Ic49fa5cd72b6c63430fb773baf8121546bf2b80d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/265580 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>