aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRectanizer_pow2.cpp
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-10-25 15:31:54 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-25 20:27:28 +0000
commit84d7cf99d130c702d5c04c94daf12832247fbebf (patch)
tree89ce5d0d32005b3e1b18776f478d4774479968de /src/gpu/GrRectanizer_pow2.cpp
parent8aa4dc9052a64d84cfd0a4330910057bd37b6bf7 (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/gpu/GrRectanizer_pow2.cpp')
0 files changed, 0 insertions, 0 deletions