Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync changes from mozilla-central gfx/wr #3887

Merged
merged 7 commits into from Mar 19, 2020
Merged

Commits on Mar 19, 2020

  1. Bug 1623407 - Replace AtomicU64 with AtomicUsize r=kats

    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
    dm0- authored and moz-gfx committed Mar 19, 2020
  2. Bug 1614655 - Part 2: Allow 1:n mapping of Gecko - WR display items r…

    …=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
    mikokm authored and moz-gfx committed Mar 19, 2020
  3. Backed out 3 changesets (bug 1614655) for WebRender bustages. CLOSED …

    …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
    Razvan Maries authored and moz-gfx committed Mar 19, 2020
  4. Bug 1614655 - Part 2: Allow 1:n mapping of Gecko - WR display items r…

    …=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
    mikokm authored and moz-gfx committed Mar 19, 2020
You can’t perform that action at this time.