commit | 3ebd354730ea9590bf233deccfc24982ffe48a98 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Mon Jul 30 14:36:53 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jul 30 19:06:48 2018 +0000 |
tree | f9cef509dc7ccb769332cbbf740bfdbcead6dac8 | |
parent | a78b6dcb82d2f6c940e9c0a6bc14853f846344d0 [diff] |
For TextureOp + Alpha texture, xform paint color to dest color space This is an unfortunate amount of plumbing for this, but benchmarks confirm that we're better off doing this work in the vertex shader (with a ubyte attribute) than using a float4 attribute. Change-Id: I358d330ee452ea0a89cdd725019c8df2686036a0 Reviewed-on: https://skia-review.googlesource.com/144351 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>