diff options
author | fmalita <fmalita@chromium.org> | 2015-10-09 12:30:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-09 19:31:13 +0000 |
commit | 805874fda11c5045226750f6b1ba1d6172d00193 (patch) | |
tree | 3070d7596a11a3138c56c58919b9fb693fdda469 /skia | |
parent | f42c775933329e5526ca83818217e66acff405d0 (diff) | |
download | chromium_src-805874fda11c5045226750f6b1ba1d6172d00193.zip chromium_src-805874fda11c5045226750f6b1ba1d6172d00193.tar.gz chromium_src-805874fda11c5045226750f6b1ba1d6172d00193.tar.bz2 |
Add temporary SK_SUPPORT_LEGACY_GRADIENT_DITHERING build flag
Upcoming Skia changes will make gradient dithering optional. This flag
preserves the current behavior while clients are updated to request
dithering explicitly.
BUG=skia:4436
R=reed@google.com,robertphillips@google.com
Review URL: https://codereview.chromium.org/1395163002
Cr-Commit-Position: refs/heads/master@{#353362}
Diffstat (limited to 'skia')
-rw-r--r-- | skia/config/SkUserConfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index af0d6bf..f15c9a5 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -226,6 +226,9 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, # define SK_SAVE_LAYER_BOUNDS_ARE_FILTERED #endif +#ifndef SK_SUPPORT_LEGACY_GRADIENT_DITHERING +# define SK_SUPPORT_LEGACY_GRADIENT_DITHERING +#endif ///////////////////////// Imported from BUILD.gn and skia_common.gypi /* In some places Skia can use static initializers for global initialization, |