-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defer building of instances unless render task is stale.
Also reduce clones of the brush segments. This is an optimization for the common case of a lot of similar borders. However, it mainly prep work for supporting dashing and dotting style support. In these cases, we may generate a large number of instances, and so it would be inefficient to generate these unconditionally. Instead, it's much more efficient to only generate them when there is no matching valid cached render task.
- Loading branch information
Showing
3 changed files
with
127 additions
and
101 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
Oops, something went wrong.