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

Merged
merged 9 commits into from Feb 12, 2020
Merged

Commits on Feb 11, 2020

  1. Backed out changeset 85ffb2302070 (bug 1600793) for causing crashes r…

    Mihai Alexandru Michis authored and moz-gfx committed Feb 11, 2020

Commits on Feb 12, 2020

  1. Bug 1608717 - Support per-tile clip (valid) region for native composi…

    …tor implementations. r=sotaro,mstange
    
    For Draw (non-native) and CA modes, we include the per-tile
    valid rect in the clip rect from the surface.
    
    For DC (non-virtual) mode, a per-tile clip rect is set on the
    visual for each tile, separate from the overall clip rect that
    is set on the surface visual.
    
    For DC (virtual) mode, the Trim API is used to remove pixels
    in the virtual tile area that are outside the valid / clipped
    region.
    
    Note: Although the valid rect is now applied in the native
    compositors, it's currently only based on the overall picture
    cache bounding rect. Thus, with this patch there isn't any
    noticeable performance improvement. Once this lands and is
    working correctly, the follow up patch to calculate a smaller
    valid region per-tile is a small amount of work.
    
    Differential Revision: https://phabricator.services.mozilla.com/D61424
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/174d5be06caa95bdc01153cdd8cff5152f406b6f
    gw3583 authored and moz-gfx committed Feb 12, 2020
  2. Bug 1608280 - Part 2 - Use valid rect to reduce pixel costs. r=kvark

    With this patch, a minimal valid rect is calculated for each
    picture cache tile. This is used to reduce the scissor rect
    during tile rasterization, and the draw rect during tile
    compositing, whenever there is a partial tile.
    
    Differential Revision: https://phabricator.services.mozilla.com/D62177
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/b174d2f9072d36738d5dc484526d51a3a4f2ef82
    gw3583 authored and moz-gfx committed Feb 12, 2020
  3. Bug 1595014 - Make dirty rects are invalid when old tiles were droppe…

    …d r=gw
    
    composite_simple() calculates combined dirty rect from all tile's dirty rect. But the combined dirty rect becomes invalid when there is an old tile that was dropped. The dropped tile's dirty rect is not counted in composite_simple().
    
    Differential Revision: https://phabricator.services.mozilla.com/D62531
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/8e08016b3d0acf0c5c3116b087d5455df573d99c
    sotaro authored and moz-gfx committed Feb 12, 2020
  4. Backed out changeset 8f55490fb539 (bug 1614890) for causing awsy fail…

    Mihai Alexandru Michis authored and moz-gfx committed Feb 12, 2020
You can’t perform that action at this time.