diff options
author | Jim Van Verth <jvanverth@google.com> | 2018-01-18 15:19:13 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-19 16:32:13 +0000 |
commit | b1b80f7de4224c5083dfc1475e1988b2ce839a65 (patch) | |
tree | d33690051752b46e396f76a96851cb38910dc923 /bench | |
parent | 8bad7e01bac9a1e692eca7dafd1adf3eb1761628 (diff) |
Remove tonal color from DrawShadow internals
Bug: b/71719631
Change-Id: I676c34dfe5ea9b5e184ea53dd49a8b835d4e8cb6
Reviewed-on: https://skia-review.googlesource.com/95741
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'bench')
-rwxr-xr-x | bench/ShadowBench.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bench/ShadowBench.cpp b/bench/ShadowBench.cpp index f329664fb2..e454abd3a4 100755 --- a/bench/ShadowBench.cpp +++ b/bench/ShadowBench.cpp @@ -65,9 +65,8 @@ protected: fRec.fZPlaneParams = SkPoint3::Make(0, 0, kElevation); fRec.fLightPos = SkPoint3::Make(270, 0, 600); fRec.fLightRadius = 800; - fRec.fAmbientAlpha = 0.1f; - fRec.fSpotAlpha = 0.25f; - fRec.fColor = SK_ColorBLACK; + fRec.fAmbientColor = 0x19000000; + fRec.fSpotColor = 0x40000000; fRec.fFlags = 0; if (fTransparent) { fRec.fFlags |= SkShadowFlags::kTransparentOccluder_ShadowFlag; |