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 #3838
Merged
+77
−54
Conversation
The majority of render tasks have 0, 1 or 2 dependencies, except for pictures that typically have dozens to hundreds of dependencies. SmallVec with 2 inline elements avoids many tiny heap allocations in pages with a lot of text shadows and other types of render tasks. Differential Revision: https://phabricator.services.mozilla.com/D60151 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/db0378df4c6616330779c46cd830dd2f76f53b1b
Unlike other types of render tasks, pictures can have hundreds of dependencies. The dependency vector is re-built every frame, leading to a lot of vector re-allocations in some pages. Depends on D60151 Differential Revision: https://phabricator.services.mozilla.com/D60182 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/dfe4fa983d2b1eaaa3db2141a5e1c0f5ae58d5d7
|
@bors-servo r=auto |
|
|
bors-servo
added a commit
that referenced
this pull request
Jan 21, 2020
Sync changes from mozilla-central gfx/wr
|
|
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 commentedJan 21, 2020
No description provided.