diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-11-20 14:28:01 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-20 19:55:38 +0000 |
commit | 53d863c18cd3b53d8b4c4dcb8505f2c52f1e5c59 (patch) | |
tree | 2875e0aa9c65ee6adf960ca491df4f39f15d80b6 /include/private/SkShadowFlags.h | |
parent | 1e18aa6d7df79ce36fa7f6b86dc24dc4ffe9a374 (diff) |
Enable tonal color for shadows by default.
This change swaps the sense of the tonal color shadow flag, so
tonal color will always be on unless explicitly disabled.
Change-Id: I56ce4228022cf59b570cd7461327628cf7fe7173
Reviewed-on: https://skia-review.googlesource.com/73900
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'include/private/SkShadowFlags.h')
-rw-r--r-- | include/private/SkShadowFlags.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/SkShadowFlags.h b/include/private/SkShadowFlags.h index 185bfada6a..9f3dd6ab88 100644 --- a/include/private/SkShadowFlags.h +++ b/include/private/SkShadowFlags.h @@ -16,8 +16,8 @@ enum SkShadowFlags { kTransparentOccluder_ShadowFlag = 0x01, /** Don't try to use analytic shadows. */ kGeometricOnly_ShadowFlag = 0x02, - /** Use tonal values when applying color */ - kTonalColor_ShadowFlag = 0x04, + /** Disable use of tonal values when applying color */ + kDisableTonalColor_ShadowFlag = 0x04, /** mask for all shadow flags */ kAll_ShadowFlag = 0x07 }; |