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

Merged
merged 2 commits into from Jan 22, 2020
Merged

Commits on Jan 22, 2020

  1. Bug 1610626 - Fix wrench reftest mode incorrectly printing unexpected…

    … in some cases. r=Bert
    
    The semantics of the inaccuracy reftest mode are that the overall
    test succeeds as long as one of the multiple test images mismatches
    the reference image.
    
    However, the previous implementation would print an unexpected result
    if any of the comparisons were equal (even though the overall test
    result would be reported correctly).
    
    This patch changes wrench so that it only reports an unexpected
    failure for the overall test, not each individual reference.
    
    Differential Revision: https://phabricator.services.mozilla.com/D60564
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/3d076ae68a9411e4f412c90d2743987f7b916850
    gw3583 authored and moz-gfx committed Jan 22, 2020
  2. Bug 1608741 - Part 2 - Disable dithering on gradient primitives. r=so…

    …taro,nical
    
    There are a number of issues with the current gradient dithering
    implementation, that cause many test failures and also fuzziness
    rendering when enabling DirectComposition virtual surfaces. In
    particular, the dither result is dependent on the offset of the
    update rect within a render target.
    
    For now, this patch disables gradient dithering by default. This
    gives us:
    
     - A heap of new test PASS results (or reduced fuzziness).
     - Fixes a number of non-deterministic fuzziness bugs with DC.
     - Improves performance of gradient rendering by a reasonable amount.
    
    We can fix gradient dithering as a follow up, and re-enable if/when
    we find content that would benefit from it significantly (we may
    be able to improve gradients in other ways than dithering too).
    
    Differential Revision: https://phabricator.services.mozilla.com/D60460
    
    [ghsync] From https://hg.mozilla.org/mozilla-central/rev/f758f235dd70f1060dba771ccfd3cb91a9aaef20
    gw3583 authored and moz-gfx committed Jan 22, 2020
You can’t perform that action at this time.