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 #3887
Merged
Conversation
and others
added 7 commits
Mar 19, 2020
Differential Revision: https://phabricator.services.mozilla.com/D67336 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/c7b34aa0386b29d739b92d1ae40399c306b67f86
PowerPC and MIPS do not have AtomicU64, but AtomicUsize is a more portable type that can be used as a replacement. [import_pr] From #3884 Differential Revision: https://phabricator.services.mozilla.com/D67365 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/ff701e82864569f328f9466ba5fdbfb0273354d6
…uizel Differential Revision: https://phabricator.services.mozilla.com/D66442 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/10897d6106a85383569ac03d8d14907a4c063d9b
…=jrmuizel This patch changes the underlying storage for WR display items in DisplayItemCache from Vec<Option<CachedDisplayItem> to Vec<Vec<CachedDisplayItem>>. This allows storing multiple WebRender display items for one Gecko display item. The storage is populated by traversing BuiltDisplayList extra data portion in display list format, which is roughly as follows: RetainedItems(key k1) Item1(..) RetainedItems(key k2) ItemN(..) ItemN+1(..) This would store Item1 under key k1, and ItemN and ItemN+1 under the key k2, where k1 and k2 are arbitrary unique identifiers (currently of type uint16_t). The entries in the storage are accessed by DisplayItemCache::get_iterator(key), which is called by BuiltDisplayListIter, whenever it encounters a display item DisplayItem::ReuseItems(key). Differential Revision: https://phabricator.services.mozilla.com/D66443 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/cc263e909c61d2d9c7d7cc1ccb8d24c8d09bf5b7
…TREE Backed out changeset e79e84e8819c (bug 1614655) Backed out changeset cc263e909c61 (bug 1614655) Backed out changeset 10897d6106a8 (bug 1614655) [ghsync] From https://hg.mozilla.org/mozilla-central/rev/4eeedb4337c8b945764997ea8d959ee3ff8c4de9
…uizel Differential Revision: https://phabricator.services.mozilla.com/D66442 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/0e791acac783e4ef9728fd2feded2d405010a76d
…=jrmuizel This patch changes the underlying storage for WR display items in DisplayItemCache from Vec<Option<CachedDisplayItem> to Vec<Vec<CachedDisplayItem>>. This allows storing multiple WebRender display items for one Gecko display item. The storage is populated by traversing BuiltDisplayList extra data portion in display list format, which is roughly as follows: RetainedItems(key k1) Item1(..) RetainedItems(key k2) ItemN(..) ItemN+1(..) This would store Item1 under key k1, and ItemN and ItemN+1 under the key k2, where k1 and k2 are arbitrary unique identifiers (currently of type uint16_t). The entries in the storage are accessed by DisplayItemCache::get_iterator(key), which is called by BuiltDisplayListIter, whenever it encounters a display item DisplayItem::ReuseItems(key). Differential Revision: https://phabricator.services.mozilla.com/D66443 [ghsync] From https://hg.mozilla.org/mozilla-central/rev/aaed31bbe8f4e0a8892e632633c27033549eaf33
|
@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 commentedMar 19, 2020
Fixes #3884,