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

Merged
merged 2 commits into from Apr 14, 2020
Merged

Commits on Apr 14, 2020

  1. Bug 1629704 - Rotate vertex data textures per frame. r=Bert,kvark

    On some (primarily older, integrated) drivers, we see significant
    time in CPU stalls during updates to the vertex data textures.
    
    As a short term fix, this patch creates an array of vertex data
    textures, and rotates which set of them are in use each frame.
    
    There are better long-term options (such as porting the GPU cache
    scatter method, or perhaps using UBO/SSBOs here), but this is a
    simple workaround for now.
    
    Differential Revision: https://phabricator.services.mozilla.com/D70775
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/b396f2b243fd9433e6038afdf03c905c1e0b3055
    Glenn Watson authored and moz-gfx committed Apr 14, 2020
  2. Bug 1629672 - Move prim_origin from instance to template. r=Bert,kvark

    Previously, the prim origin needed to be stored in the prim
    instance, to avoid picture cache invalidations. With support
    for external scroll offset, this is no longer necessary.
    
    This simplifies some of the code paths, and reduces the size
    of primitive instances.
    
    Differential Revision: https://phabricator.services.mozilla.com/D70740
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/1f65f78fb36707cd936882f4d363f7c5f8a3314d
    gw3583 authored and moz-gfx committed Apr 14, 2020
You can’t perform that action at this time.