Bug 1448006 - Disable mipmaps in WR. r=mstange
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 22 Mar 2018 12:14:15 -0400
changeset 409530 d08dffa551b79aaaf7be107dcc7d950192f8726f
parent 409529 09f496975981051ad17639ee00242998598149d5
child 409531 307521ba5e6a097f1f968fa1b4213725a6a4f41a
push id61548
push userkgupta@mozilla.com
push dateThu, 22 Mar 2018 18:14:35 +0000
treeherderautoland@d08dffa551b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1448006
milestone61.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 1448006 - Disable mipmaps in WR. r=mstange MozReview-Commit-ID: HlUzStD16Pa
dom/html/reftests/reftest.list
gfx/webrender_bindings/src/bindings.rs
layout/reftests/backgrounds/vector/reftest.list
testing/web-platform/meta/css/css-backgrounds/background-size/vector/wide--cover--nonpercent-width-nonpercent-height-viewbox.html.ini
testing/web-platform/meta/css/css-backgrounds/background-size/vector/wide--cover--nonpercent-width-nonpercent-height.html.ini
--- a/dom/html/reftests/reftest.list
+++ b/dom/html/reftests/reftest.list
@@ -39,17 +39,17 @@ skip-if(Android) == 649134-2.html 649134
 == image-load-shortcircuit-1.html image-load-shortcircuit-ref.html
 == image-load-shortcircuit-2.html image-load-shortcircuit-ref.html
 
 # Test that image documents taken into account CSS properties like
 # image-orientation when determining the size of the image.
 # (Fuzzy necessary due to pixel-wise comparison of different JPEGs.
 # The vast majority of the fuzziness comes from Linux and WinXP.)
 fuzzy(1,149) == bug917595-iframe-1.html    bug917595-1-ref.html
-fuzzy(3,640) fuzzy-if(skiaContent,3,7544) fuzzy-if(webrender,10-10,10916-10916) == bug917595-exif-rotated.jpg bug917595-pixel-rotated.jpg # bug 1060869
+fuzzy(3,640) fuzzy-if(skiaContent,3,7544) fuzzy-if(webrender,3-3,7544-7544) == bug917595-exif-rotated.jpg bug917595-pixel-rotated.jpg # bug 1060869
 
 # Test support for SVG-as-image in <picture> elements.
 == bug1106522-1.html bug1106522-ref.html
 == bug1106522-2.html bug1106522-ref.html
 
 == href-attr-change-restyles.html href-attr-change-restyles-ref.html
 == figure.html figure-ref.html
 == pre-1.html pre-1-ref.html
--- a/gfx/webrender_bindings/src/bindings.rs
+++ b/gfx/webrender_bindings/src/bindings.rs
@@ -262,17 +262,17 @@ impl<'a> Into<ImageDescriptor> for &'a W
             stride: if self.stride != 0 {
                 Some(self.stride)
             } else {
                 None
             },
             format: self.format,
             is_opaque: self.is_opaque,
             offset: 0,
-            allow_mipmaps: true,
+            allow_mipmaps: false,
         }
     }
 }
 
 /// cbindgen:field-names=[mHandle]
 #[repr(C)]
 #[derive(Copy, Clone)]
 pub struct WrExternalImageId(pub u64);
--- a/layout/reftests/backgrounds/vector/reftest.list
+++ b/layout/reftests/backgrounds/vector/reftest.list
@@ -176,18 +176,18 @@ include empty/reftest.list
 == wide--contain--omitted-width-percent-height-viewbox.html ref-wide-lime16x128-aqua16x128.html
 == wide--contain--percent-width-nonpercent-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--contain--percent-width-nonpercent-height-viewbox.html ref-wide-lime16x128-aqua16x128.html
 == wide--contain--percent-width-omitted-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--contain--percent-width-omitted-height-viewbox.html ref-wide-lime16x128-aqua16x128.html
 == wide--contain--percent-width-percent-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--contain--percent-width-percent-height-viewbox.html ref-wide-lime16x128-aqua16x128.html
 
-fuzzy-if(webrender,127-127,768-768) == wide--cover--nonpercent-width-nonpercent-height.html ref-wide-lime768x256.html
-fuzzy-if(webrender,127-127,768-768) == wide--cover--nonpercent-width-nonpercent-height-viewbox.html ref-wide-lime768x256.html
+== wide--cover--nonpercent-width-nonpercent-height.html ref-wide-lime768x256.html
+== wide--cover--nonpercent-width-nonpercent-height-viewbox.html ref-wide-lime768x256.html
 == wide--cover--nonpercent-width-omitted-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--cover--nonpercent-width-omitted-height-viewbox.html ref-wide-lime768x256.html
 == wide--cover--nonpercent-width-percent-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--cover--nonpercent-width-percent-height-viewbox.html ref-wide-lime768x256.html
 == wide--cover--omitted-width-nonpercent-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--cover--omitted-width-nonpercent-height-viewbox.html ref-wide-lime768x256.html
 == wide--cover--omitted-width-omitted-height.html ref-wide-lime768x128-aqua768x128.html
 == wide--cover--omitted-width-omitted-height-viewbox.html ref-wide-lime768x256.html
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-backgrounds/background-size/vector/wide--cover--nonpercent-width-nonpercent-height-viewbox.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[wide--cover--nonpercent-width-nonpercent-height-viewbox.html]
-  expected:
-    if webrender: FAIL
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-backgrounds/background-size/vector/wide--cover--nonpercent-width-nonpercent-height.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[wide--cover--nonpercent-width-nonpercent-height.html]
-  expected:
-    if webrender: FAIL