forked from szeged/webrender
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port dot/dash to border brushes, remove old border code.
This ports the last remaining legacy border styles to run with the new border brush implementation. With the complete, it's possible to remove all the old border path code and shaders. The dash/dot placement is not quite the same as the previous code. It's better in some cases, and worse in others. Working on this as a follow up to handle all the possible edge cases should be much easier once this patch lands. This completes the work of moving borders to be brush images, which gives some very significant performance wins - mostly stemming from (a) caching of border primitives across scrolls and display lists and (b) much better batching during the main scene pass, since all borders are now batched as brush_images.
- Loading branch information
Showing
23 changed files
with
396 additions
and
2,026 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.