aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-02-01 12:23:25 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-01 20:14:18 +0000
commit0bd699e497819344083df4715928a54a597cd630 (patch)
tree27ab41441f650a3912d9bf21d7e7937e4950721b /dm
parent44f80a24f010e99de773dad89fb9f50100898969 (diff)
Add a GM for SkShadowUtils and fix a few issues.
1) Transform the path center to device space before computing the shadow offset. 2) Modulate the shadow color by the color filter's output color. 3) Make the scale of path points in the spot tessellator be relative to the path centroid. 4) Clamp the shadow alphas at 1. Change-Id: I480476df79b959f11c1eca0ba2a49a134d355cbb Reviewed-on: https://skia-review.googlesource.com/7860 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'dm')
0 files changed, 0 insertions, 0 deletions