diff options
author | Florin Malita <fmalita@chromium.org> | 2017-10-25 15:31:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-25 20:27:28 +0000 |
commit | 84d7cf99d130c702d5c04c94daf12832247fbebf (patch) | |
tree | 89ce5d0d32005b3e1b18776f478d4774479968de /src/opts/SkChecksum_opts.h | |
parent | 8aa4dc9052a64d84cfd0a4330910057bd37b6bf7 (diff) |
Stop using GradientShaderCache for gradient textures
Ganesh uses GradientShaderCache for generating legacy gradient textures,
and a custom helper (initLinearBitmap) for all other cases.
Now that GradientShaderCache no longer supports dithering, there is
little difference between the two implementantions. And sice the result
is also cached in a separate bitmap cache, we might as well consolidate
the implementation and always use initLinearBitmap.
This allows us to completely remove GradientShaderCache in a follow up.
Change-Id: Ie05d15132a6116d2f139f066b81fcfbc9e22d7b6
Reviewed-on: https://skia-review.googlesource.com/63741
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'src/opts/SkChecksum_opts.h')
0 files changed, 0 insertions, 0 deletions