skia2/src
robertphillips 2f0dbc761a 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
2015-08-20 05:15:07 -07:00
..
animator Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
c C API: add radial, sweep, and two-point conical gradient shaders 2015-08-12 07:37:34 -07:00
codec Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
core Update SkLightingShader to support rotation 2015-08-20 05:15:07 -07:00
device/xps change asABitmap to isABitmap on shader 2015-08-19 11:46:38 -07:00
doc SkPDF: allow PDF module to be disabled in DM and SampleApp 2015-08-11 10:30:12 -07:00
effects Update SkLightingShader to support rotation 2015-08-20 05:15:07 -07:00
fonts Add BW masks to random scaler context 2015-08-01 10:33:40 -07:00
gpu Thou shalt use override consistently. 2015-08-19 14:01:42 -07:00
image Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
images Remove SK_LEGACY_IMAGE_GENERATOR_ENUMS_AND_OPTIONS 2015-07-30 07:47:45 -07:00
lazy private iterator to visit all resource cache entries 2015-08-19 12:25:41 -07:00
opts SkColorCubeFilter: require alpha == 0xFF. 2015-08-19 18:56:50 -07:00
pathops fix pathops fuzz failures 2015-08-18 07:12:44 -07:00
pdf Thou shalt use override consistently. 2015-08-19 14:01:42 -07:00
pipe flag to use const& instead of const* for src-rect 2015-08-06 10:02:53 -07:00
ports Update SkLightingShader to support rotation 2015-08-20 05:15:07 -07:00
sfnt Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
svg IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
utils Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00
views Remove SK_BUILD_FOR_WINCE. 2015-07-29 12:34:25 -07:00
xml [SVGDevice] Text whitespace unittest 2015-02-20 13:54:40 -08:00