-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1674396 - Implement SWGL fast-path for box shadows. r=jrmuizel
This adds a span shader that tries to treat the box shadow as a nine-patch and intersect with the various sectors of it. This allows committing entire contiguous spans of texture from the source box shadow rather than doing slower per-fragment processing. Differential Revision: https://phabricator.services.mozilla.com/D115113 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ec2f0492da8aceb5f2fc68a4b12cd69215db80da
- Loading branch information
Showing
7 changed files
with
341 additions
and
136 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
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
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
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
Oops, something went wrong.