Remove SK_SUPPORT_LEGACY_GRADIENT_DITHERING from Skia proper
authorfmalita <fmalita@chromium.org>
Mon, 12 Oct 2015 17:41:48 +0000 (10:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 12 Oct 2015 17:41:48 +0000 (10:41 -0700)
commit063675ba374cb520fe58bbcdaf5afeea0aa0ad60
tree6e84670d0f050d81d906eb8247387337e31f6601
parentafa95e270c64c9777647b6c58b796750ced57c39
Remove SK_SUPPORT_LEGACY_GRADIENT_DITHERING from Skia proper

Migrating the flag to embedder defines (Chromium already guarded).

Also augment gradient-focused GMs to generate both dithered/undithered
results.

BUG=skia:4436
R=reed@google.com,robertphillips@google.com

Review URL: https://codereview.chromium.org/1400813006
gm/gradients.cpp
gm/gradients_2pt_conical.cpp
gm/gradients_no_texture.cpp
gm/shallowgradient.cpp
gyp/skia_for_android_framework_defines.gypi
src/effects/gradients/SkGradientShader.cpp