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 #4012
Merged
+146
−162
Conversation
and others
added 4 commits
Jul 14, 2020
This reduces the size of intern handles, which drops the size of the PrimitiveInstance structure from 80 bytes to 64 bytes. This has a significant performance improvement on pages with large numbers of primitives. It also opens up some future optimization work related to text run interning costs, which will be a performance win on many pages. Differential Revision: https://phabricator.services.mozilla.com/D83281 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/7fbefca418f395f90429a2d0acb09720578c8f46
we only draw quads, and for quads we have a fixed vertex buffer with positions. If we get stop using instancing, we'll no longer have the luxury of 4 vertices there. Given that they are trivial to compute, it seems simpler to just do that in the shader today. So this PR is a required step on the way to instance-less rendering. Differential Revision: https://phabricator.services.mozilla.com/D83391 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ca1168e024b901c0c8cd1a8d3f2183b166b45806
…t test_file_delete.html. [ghsync] From https://hg.mozilla.org/mozilla-central/rev/0b270ed6f92d79b577ab4523c40a6c0e3d160cb5
This reduces the size of intern handles, which drops the size of the PrimitiveInstance structure from 80 bytes to 64 bytes. This has a significant performance improvement on pages with large numbers of primitives. It also opens up some future optimization work related to text run interning costs, which will be a performance win on many pages. Differential Revision: https://phabricator.services.mozilla.com/D83281 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/c019e0c77d80d5e28e94a1fd5799fb42c66ebea6
|
@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 commentedJul 14, 2020
No description provided.