Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSync changes from mozilla-central gfx/wr #4062
Merged
+132
−92
Conversation
and others
added 3 commits
Aug 18, 2020
…=kvark Although real world content generally has a small number of picture cache slices (typically < 8), it's possible to create contrived cases that create large numbers of picture cache slices. In these cases, we want to ensure that we don't create too many slices, to avoid allocating too much GPU memory for cached surface tiles. Previously, at the end of scene building, WR would check if the slice count exceeded the limit, and then merge all of those into a single slice if required. Instead of that, WR now retains the first MAX-1 slices, and just creates the last slice to be a container for all subsequent prims, if we hit that limit. This means we can rely on the slice a prim is assigned never changing. From this, we will be able to eliminate the shared compositor clips once during scene building, rather than needing to check these during every frame build. Differential Revision: https://phabricator.services.mozilla.com/D87205 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/5b2ffcf4d6d831c662685f17cda7e335d5f60dcf
Differential Revision: https://phabricator.services.mozilla.com/D87208 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/8a1b47a902ab9997b4af0ee08d998fb494c08f6b
Differential Revision: https://phabricator.services.mozilla.com/D87167 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/bf434d94d75f51a7322f99c63b3979ba88598e04
|
@bors-servo r=auto |
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
moz-gfx commentedAug 18, 2020
No description provided.