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

Merged
merged 12 commits into from Nov 15, 2019
Merged

Sync changes from mozilla-central #3797

merged 12 commits into from Nov 15, 2019

Commits on Nov 10, 2019

  1. Bug 1593970 - scale subpixel contribution based on ClearType level se…

    Lee Salzman authored and moz-gfx committed Nov 10, 2019

Commits on Nov 11, 2019

  1. Bug 1594644 - Add debugging infrastructure for picture cache invalida…

    …tion. r=nical
    
    Add a first pass at invalidation debugging infrastructure. Also
    tidy up the locations that invalidate into a common method, that
    sets the invalidation reason.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52128
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/260dfcecdb6287707bd90040a4d2bf7988274ef1
    Glenn Watson authored and moz-gfx committed Nov 11, 2019
  2. Bug 1594934 - Handle clip rects in determining picture cache primitiv…

    …e dependencies. r=nical
    
    This reduces the amount of invalidation on some pages very significantly.
    It also fixes a number of cases where picture caching "fails", resulting
    in everything invalidating every frame.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52275
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/afa3fdcab69155f37dc35daa0cdb22dbb849b907
    Glenn Watson authored and moz-gfx committed Nov 11, 2019

Commits on Nov 13, 2019

  1. Bug 1594593 - Add wrench regression test for picture cache occlusion …

    …culling. r=kvark
    
    This adds a regression test for bug #1594567.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52619
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/31cc5ca631c7a7618b7e5027dd56d6906b1bbd1b
    Glenn Watson authored and moz-gfx committed Nov 13, 2019
  2. Bug 1594364 - Support subpx AA with picture caching in more cases. r=…

    …kvark
    
    Instead of creating a picture caching slice for any content that
    is fixed position, also check if the clip(s) for the cluster are
    fixed position or anchored to the scroll root.
    
    This prevents WR creating slices for parallax style effects. There's
    not much point in doing this anyway, since those slices will invalidate
    due to the spatial node of the clip changing during scrolling. This
    also allows subpixel AA to be enabled in more situations.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52621
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/03ab38bbbd2e4be75170cdca08fcc7bd519e47c2
    Glenn Watson authored and moz-gfx committed Nov 13, 2019
  3. Bug 1594492 - Count the number of color/alpha passes instead of targe…

    …ts in the profiler HUD. r=gw
    
    It's a more useful number since we also report the number of existing and rasterized picture cache tiles.
    Also bump the expected number of alpha passes up to 2 since it is rather common.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52134
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/7ce4cf2b6d61a4241708fec5e22f634192a1fe90
    nical authored and moz-gfx committed Nov 13, 2019

Commits on Nov 14, 2019

  1. Bug 1595965 - Fix tile draw order with native compositor mode. r=sotaro

    In Draw compositor mode, tiles are placed into a bucket based on
    the tile kind and/or opacity. This simplifies the renderer code
    for this mode, which uses the z-buffer to reject opaque tiles.
    
    In native compositor mode, the tiles need to be submitted in the
    correct draw order. Opacity is a property of the native surface,
    and should not affect the order the tiles are added to the visual
    tree of the native compositor.
    
    Differential Revision: https://phabricator.services.mozilla.com/D52933
    
    [wrupdater] From https://hg.mozilla.org/mozilla-central/rev/e7837d7a78c67fb122f6f4685eb0e2f06841b621
    Glenn Watson authored and moz-gfx committed Nov 14, 2019
You can’t perform that action at this time.