skia2/modules
Jim Van Verth 94fda947eb Reland "Fix directional shadows."
This is a reland of 6789b82401

Original change's description:
> Fix directional shadows.
>
> The xy offset calculation for drawShadow was not quite correct. Rather
> than normalizing the light vector and using the xy values of that as the
> base offset value, we should scale the light vector by 1/z.
>
> See https://github.com/flutter/engine/pull/27124#issuecomment-880182653
> for more detail.
>
> Bug: skia:10781
> Change-Id: Ib69a313cb96a532f8d89644e3d69f666a184e897
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/428880
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>

Bug: skia:10781
Change-Id: Ib58d374aa03d0144512e5ded6ccd572c74783607
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/428978
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2021-07-16 16:49:52 +00:00
..
androidkit [androidkit] bind SkImageFilters to java shared library 2021-07-16 16:18:55 +00:00
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit Reland "Fix directional shadows." 2021-07-16 16:49:52 +00:00
particles Make it possible to use the DSL from within the compiler itself 2021-05-18 15:10:53 +00:00
pathkit [canvaskit] Build with emsdk 2.0.20 2021-05-27 12:36:41 +00:00
skottie [skottie] Avoid null ptr deref in motion tile effect 2021-07-13 13:21:23 +00:00
skparagraph Always enforce format specifiers on SkDebugf. 2021-07-15 20:11:24 +00:00
skplaintexteditor Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
skresources ResourceProviderProxyBase should forward loadAudioAsset() 2021-02-09 01:24:04 +00:00
sksg Pass CTM to path effects (experimental) 2021-07-13 18:42:55 +00:00
skshaper Call hb_face_count before hb_face_create 2021-07-15 12:08:25 +00:00
svg Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00