aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-02-03 14:25:02 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-03 21:36:13 +0000
commitd1ac9823fd351ccb54f463273e5c34b6d719ea46 (patch)
treea1f49f606972ae26773dbb27c0924961989b5b1b /resources
parentea518f0a7eaeb3f2efc4c106f75c8a2d4c37f2b9 (diff)
Improved SkShadowUtils caching
Multiple ambient and spot shadows can be cached for each geometry. Spot shadows can be reused when x,y light offset is different. We categorize spot shadows for rrects as either transparent, opaque with partial umbra occlusion, or opaque with full umbra occlusion and use that to improve cache performance. Change-Id: Id530bdaa5092edb46c8f584979090fbb766307fc Reviewed-on: https://skia-review.googlesource.com/7987 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'resources')
0 files changed, 0 insertions, 0 deletions