diff options
author | robertphillips <robertphillips@google.com> | 2015-08-19 10:35:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-19 10:35:14 -0700 |
commit | 45b59ed6e4e231814dbdb9f707b3d2a7ee50de84 (patch) | |
tree | 3adbdd8f81dd894932b61af82c45cdaadfbdceed /src/ports/SkGlobalInitialization_default.cpp | |
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
Diffstat (limited to 'src/ports/SkGlobalInitialization_default.cpp')
-rw-r--r-- | src/ports/SkGlobalInitialization_default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkGlobalInitialization_default.cpp b/src/ports/SkGlobalInitialization_default.cpp index 47b00b96f1..0d05c1dcb7 100644 --- a/src/ports/SkGlobalInitialization_default.cpp +++ b/src/ports/SkGlobalInitialization_default.cpp @@ -37,7 +37,7 @@ #include "SkLayerRasterizer.h" #include "SkLerpXfermode.h" #include "SkLightingImageFilter.h" -#include "../effects/SkLightingShader.h" +#include "SkLightingShader.h" #include "SkLocalMatrixShader.h" #include "SkLumaColorFilter.h" #include "SkMagnifierImageFilter.h" |