diff options
author | robertphillips <robertphillips@google.com> | 2015-08-20 05:15:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-20 05:15:07 -0700 |
commit | 2f0dbc761a626473c19db7de561c7072b12953c5 (patch) | |
tree | 5549b8e7359d6a55e171dd1b76634d93b343b491 /gm/stringart.cpp | |
parent | d1c6b7c5007b5c609b44a9cdfe95ef64a5a8f29f (diff) |
Update SkLightingShader to support rotation
This also:
makes the SkLightingShader handle normal maps where the rects aren't aligned between the diffuse and normal maps.
adds a light aggregating class (Lights) to SkLightingShader (along with a Builder nested class).
Split out of https://codereview.chromium.org/1261433009/ (Add SkCanvas::drawLitAtlas call)
Committed: https://skia.googlesource.com/skia/+/45b59ed6e4e231814dbdb9f707b3d2a7ee50de84
Review URL: https://codereview.chromium.org/1291783003
Diffstat (limited to 'gm/stringart.cpp')
0 files changed, 0 insertions, 0 deletions