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 #3842

Merged
merged 3 commits into from Jan 24, 2020
Merged

Commits on Jan 24, 2020

  1. Bug 1605283 - Improve support for invalidation debugging and testing …

    …r=gw
    
    Second part: trace the updates that are sent to the DataStore, and save
    at least the Insert/Remove and ItemUID as part of the wr-capture.
    (We could expand this with more info, eg. the actual Keys, later).
    
    TileView then reads them back and generates a color coded report to
    overlay with the page view.  This helps to see the types and amounts of
    interned primitives that lead to cache invalidations.
    
    Differential Revision: https://phabricator.services.mozilla.com/D60619
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/77d7f22c81c4ac00c895b46f42a3083875fda4b2
    bpeersmoz authored and moz-gfx committed Jan 24, 2020
  2. Bug 1611176 - Avoid expensive memmoves when adding render tasks. r=gw

    On pages with many render tasks (typically a lot of text shadows), we spend a lot of time moving RenderTask which is a fairly large struct into the render graph's buffer. This patch avoids it by using the VecHelper trick of allocaitng space before initializing the value. Some RenderTask::new_* methods which take the render task graph in parameter were modified to add the task and return the task ID to work around borrow-checking restriction.
    
    Differential Revision: https://phabricator.services.mozilla.com/D60854
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/e30053699db0bc3c77888e789f0ba576f0904d1f
    nical authored and moz-gfx committed Jan 24, 2020
You can’t perform that action at this time.