commit | 45b59ed6e4e231814dbdb9f707b3d2a7ee50de84 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Wed Aug 19 10:35:14 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Aug 19 10:35:14 2015 -0700 |
tree | 3adbdd8f81dd894932b61af82c45cdaadfbdceed | |
parent | 95b96d649547c6b89ae0eca0f88f965d90c531a5 [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) Review URL: https://codereview.chromium.org/1291783003