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 #3917
Merged
+244
−295
Conversation
and others
added 2 commits
Apr 14, 2020
On some (primarily older, integrated) drivers, we see significant time in CPU stalls during updates to the vertex data textures. As a short term fix, this patch creates an array of vertex data textures, and rotates which set of them are in use each frame. There are better long-term options (such as porting the GPU cache scatter method, or perhaps using UBO/SSBOs here), but this is a simple workaround for now. Differential Revision: https://phabricator.services.mozilla.com/D70775 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/b396f2b243fd9433e6038afdf03c905c1e0b3055
Previously, the prim origin needed to be stored in the prim instance, to avoid picture cache invalidations. With support for external scroll offset, this is no longer necessary. This simplifies some of the code paths, and reduces the size of primitive instances. Differential Revision: https://phabricator.services.mozilla.com/D70740 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/1f65f78fb36707cd936882f4d363f7c5f8a3314d
|
@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 commentedApr 14, 2020
No description provided.