-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Skia] Implement support for shadows that ignore transforms
https://bugs.webkit.org/show_bug.cgi?id=270175 Reviewed by Carlos Garcia Campos and Nikolas Zimmermann. When creating the drop shadow filter, if state.shadowsIgnoreTransforms() is true, render the drop shadow with trasformed coordinates and blur radius, by adjusting them against the CTM inverse. This is enough to make various canvas tests happy. Some of them are still failing with off-by-one colors, and it's not clear why. * Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContextSkia::createDropShadowFilterIfNeeded const): Canonical link: https://commits.webkit.org/275492@main
- Loading branch information
1 parent
1fb32b5
commit caf3994
Showing
1 changed file
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters