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

Merged
merged 23 commits into from Mar 18, 2020
Merged

Commits on Mar 14, 2020

  1. Bug 1612941 - WR shader changes to support SWGL instance attribs. r=j…

    …rmuizel,gw
    
    Add annotations to vertex shaders so that SWGL can detect when a vertex attribute
    is generated by per-instance data rather than per-vertex data.
    
    Differential Revision: https://phabricator.services.mozilla.com/D65614
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/cf730c4e65393b07f842ab6f58c2509a1009f920
    Lee Salzman authored and moz-gfx committed Mar 14, 2020

Commits on Mar 17, 2020

  1. Bug 1622720 - Add support for the tracy frame profiler to webrender. …

    …r=nical,jrmuizel
    
    This patch removes the old thread_profiler bindings, and adds
    support for profiling WR with the tracy profiler, which is a
    much more advanced frame profiler.
    
    Since it's very lightweight, and only instruments annotated CPU
    and GPU zones, it can retain very large profiles, allowing
    fine grained analysis of thread interactions, CPU spikes etc.
    
    Differential Revision: https://phabricator.services.mozilla.com/D66926
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/f8203119cca43d25f2879ebea2b904e4355e59ad
    gw3583 authored and moz-gfx committed Mar 17, 2020
  2. Bug 1618116 - Remove synchronous hit testing from WebRender's C++ wra…

    …pper. r=botond,kats
    
    In addition:
     - Move the fast hit tester to the rust side of the bindings.
     - Avoid blocking by requesting a hit tester early and only blocking if the request isn't delivered by the time of the first hit test query.
    
    Differential Revision: https://phabricator.services.mozilla.com/D66994
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/6096a87c64ab2717f1b0c670589dad69ee219269
    nical authored and moz-gfx committed Mar 17, 2020
  3. Bug 1615613 - Integrate the text shader in the brush infrastructure. …

    …r=gw
    
    As a strating point for the vertex shader, this patch isolates the parts that are common to both shaders: the code that fetches various piece of data, adding a branching point between the text shader and other brushes just after having fetched most of the data. Hopefully we can devise ways to further unify the vertex shaders in followups.
    
    Differential Revision: https://phabricator.services.mozilla.com/D63094
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/26255dd68307e91c80f322ff18233ed22739127d
    nical authored and moz-gfx committed Mar 17, 2020
You can’t perform that action at this time.