Bug 1414961 - enable WR dual-source blending by default. r=jrmuizel
authorLee Salzman <lsalzman@mozilla.com>
Tue, 07 May 2019 02:30:16 +0000
changeset 531644 52da0d93fe09c1bf8ed98f3e690b258ca80661ec
parent 531643 fc6bf8a71924c82e6e232bae21047bcd4690def2
child 531645 6348ca2145d91a6cd468877ce2940c5a1cb466ce
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1414961
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414961 - enable WR dual-source blending by default. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D30107
gfx/wr/webrender/src/renderer.rs
layout/reftests/font-features/reftest.list
testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-017.xht.ini
testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-018.xht.ini
testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-019.xht.ini
testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-020.xht.ini
testing/web-platform/meta/css/CSS2/tables/separated-border-model-004a.xht.ini
testing/web-platform/meta/css/CSS2/tables/separated-border-model-004b.xht.ini
testing/web-platform/meta/css/CSS2/tables/separated-border-model-004c.xht.ini
testing/web-platform/meta/css/css-cascade/unset-val-001.html.ini
testing/web-platform/meta/css/css-color/currentcolor-001.html.ini
testing/web-platform/meta/css/css-color/currentcolor-002.html.ini
testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit.html.ini
--- a/gfx/wr/webrender/src/renderer.rs
+++ b/gfx/wr/webrender/src/renderer.rs
@@ -5707,17 +5707,17 @@ impl Default for RendererOptions {
             scene_builder_hooks: None,
             sampler: None,
             chase_primitive: ChasePrimitive::Nothing,
             support_low_priority_transactions: false,
             namespace_alloc_by_client: false,
             enable_picture_caching: false,
             testing: false,
             gpu_supports_fast_clears: false,
-            allow_dual_source_blending: false,
+            allow_dual_source_blending: true,
             allow_advanced_blend_equation: false,
             allow_pixel_local_storage_support: false,
             // For backwards compatibility we set this to true by default, so
             // that if the debugger feature is enabled, the debug server will
             // be started automatically. Users can explicitly disable this as
             // needed.
             start_debug_server: true,
         }
--- a/layout/reftests/font-features/reftest.list
+++ b/layout/reftests/font-features/reftest.list
@@ -115,9 +115,9 @@ random-if(cocoaWidget||Android) == subsu
 != subsuper-fallback.html subsuper-fallback-notref3.html
 != subsuper-fallback-omega.html subsuper-fallback-omega-notref.html
 == subsuper-nofallback.html subsuper-nofallback-ref1.html
 random-if(cocoaWidget) == subsuper-nofallback.html subsuper-nofallback-ref2.html # bug 1139269
 != subsuper-nofallback.html subsuper-nofallback-notref.html
 == subsuper-fallback-size.html subsuper-fallback-size-ref.html
 
 # GPOS spacing adjustments in vertical mode -- subsetted opentype/cff test font fails to load on Win7
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == 1376231-vertical-gpos-adjustments.html 1376231-vertical-gpos-adjustments-ref.html
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fuzzy-if(winWidget&&webrender,0-1,0-70) == 1376231-vertical-gpos-adjustments.html 1376231-vertical-gpos-adjustments-ref.html
--- a/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-017.xht.ini
+++ b/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-017.xht.ini
@@ -1,4 +1,6 @@
 [fixed-table-layout-017.xht]
   expected:
     if (os == "mac"): FAIL
     if os == "android" and not e10s: FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-1
--- a/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-018.xht.ini
+++ b/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-018.xht.ini
@@ -1,4 +1,6 @@
 [fixed-table-layout-018.xht]
   expected:
     if (os == "mac"): FAIL
     if os == "android" and not e10s: FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-1
--- a/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-019.xht.ini
+++ b/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-019.xht.ini
@@ -1,4 +1,6 @@
 [fixed-table-layout-019.xht]
   expected:
     if (os == "mac"): FAIL
     if os == "android" and not e10s: FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-1
--- a/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-020.xht.ini
+++ b/testing/web-platform/meta/css/CSS2/tables/fixed-table-layout-020.xht.ini
@@ -1,4 +1,6 @@
 [fixed-table-layout-020.xht]
   expected:
     if os == "android" and not e10s: FAIL
     if (os == "mac") and (version == "OS X 10.14") and (processor == "x86_64") and (bits == 64): FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-1
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/CSS2/tables/separated-border-model-004a.xht.ini
@@ -0,0 +1,3 @@
+[separated-border-model-004a.xht]
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-34
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/CSS2/tables/separated-border-model-004b.xht.ini
@@ -0,0 +1,3 @@
+[separated-border-model-004b.xht]
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-8
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/CSS2/tables/separated-border-model-004c.xht.ini
@@ -0,0 +1,3 @@
+[separated-border-model-004c.xht]
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-8
--- a/testing/web-platform/meta/css/css-cascade/unset-val-001.html.ini
+++ b/testing/web-platform/meta/css/css-cascade/unset-val-001.html.ini
@@ -1,3 +1,5 @@
 [unset-val-001.html]
   expected:
     if os == "mac": FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-21
--- a/testing/web-platform/meta/css/css-color/currentcolor-001.html.ini
+++ b/testing/web-platform/meta/css/css-color/currentcolor-001.html.ini
@@ -1,3 +1,5 @@
 [currentcolor-001.html]
   expected:
     if (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-8
--- a/testing/web-platform/meta/css/css-color/currentcolor-002.html.ini
+++ b/testing/web-platform/meta/css/css-color/currentcolor-002.html.ini
@@ -1,3 +1,5 @@
 [currentcolor-002.html]
   expected:
     if (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64): FAIL
+  fuzzy:
+    if webrender and (os == "win"): maxDifference=1;totalPixels=0-8
--- a/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit.html.ini
+++ b/testing/web-platform/meta/html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit.html.ini
@@ -1,3 +1,6 @@
 [track-cue-rendering-line-doesnt-fit.html]
   disabled:
     if (os == "win") and (processor == "aarch64"): https://bugzilla.mozilla.org/show_bug.cgi?id=1548066
+  fuzzy:
+    if webrender and os == "win": maxDifference=1;totalPixels=0-68
+