diff options
author | 2017-07-18 12:22:58 -0400 | |
---|---|---|
committer | 2017-07-18 16:43:23 +0000 | |
commit | 1806e33e6a09b1361de4925d32389a01e0e2c7e7 (patch) | |
tree | c435d7761eafdbf1c23d3a85baaad9b3da89227a /bench/BezierBench.cpp | |
parent | 086a427b0cee3862f25c492fc5082ff24105dc53 (diff) |
Improvements to GPU dither.
1) Makes the range of the offset dependent on the config.
2) Uses an ordered dither on GPUs that support integers in shaders.
3) Enables dithering for all paints with dither flag when the color type of the dst is 4444
4) Dithers r,g,b and clamps to 0,a rather than dithering all four channels (same as CPU backend).
Bug: skia:
Change-Id: Ie22c3adc38c6d1dbbcd97e4b7d16fc843e392c2e
Reviewed-on: https://skia-review.googlesource.com/23485
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'bench/BezierBench.cpp')
0 files changed, 0 insertions, 0 deletions