From 53d863c18cd3b53d8b4c4dcb8505f2c52f1e5c59 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Mon, 20 Nov 2017 14:28:01 -0500 Subject: 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 Commit-Queue: Jim Van Verth --- include/private/SkShadowFlags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/private') 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 }; -- cgit v1.2.3