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

Merged
merged 4 commits into from Feb 14, 2020
Merged

Commits on Feb 13, 2020

  1. Bug 1579235 - Part 1 - Support prefer compositor flag in wrench. r=nical

    Add support to the yaml reader and writer to be able to specify
    that a primitive should set the PREFER_COMPOSITOR_SURFACE flag.
    
    This flag is not currently used, but in future will signal the
    picture caching code to promote a primitive to draw on a native
    compositor surface where possible.
    
    Differential Revision: https://phabricator.services.mozilla.com/D62693
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/1e1ffcbadfb2350ecda25b8752b3c07c2f2d0722
    gw3583 authored and moz-gfx committed Feb 13, 2020

Commits on Feb 14, 2020

  1. Bug 1579235 - Part 2 - Refactor some of the tile map handling code. r…

    …=nical,Bert
    
    Simplify some of the logic related to handling multiple
    compositor surfaces in future, specifically:
    
    * Only rebuild the tiles map when the tile rect changes.
    * Remove need for tiles_to_draw array.
    
    Differential Revision: https://phabricator.services.mozilla.com/D62694
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/0c0eb80974b03f6cc153616fe21c8dc229b25c3e
    gw3583 authored and moz-gfx committed Feb 14, 2020
  2. Bug 1529260 - Match shader and CPU glyph rasterization logic for glyp…

    …hs in local space. r=lsalzman
    
    This patch makes the CPU side incorporate the raster scale when
    calculating the subpixel position of a glyph. It also makes the shader
    side not include the glyph scale factor when recalculating the glyph
    position (since it was not known/used when determining the subpixel
    position in the first place). This makes the subpixel position stable
    when we transition between Screen and Local(raster_scale) spaces.
    
    Differential Revision: https://phabricator.services.mozilla.com/D62812
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/9bd4120bc9779fe1c42fb45246044a23f2e95d25
    aosmond authored and moz-gfx committed Feb 14, 2020
You can’t perform that action at this time.