commit | 2f0dbc761a626473c19db7de561c7072b12953c5 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Thu Aug 20 05:15:06 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Aug 20 05:15:07 2015 -0700 |
tree | 5549b8e7359d6a55e171dd1b76634d93b343b491 | |
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