# HG changeset patch # User Kartikaya Gupta # Date 1521735255 14400 # Node ID d08dffa551b79aaaf7be107dcc7d950192f8726f # Parent 9212f7511f7d87b53e071dd65c9b058de1b532a0 Bug 1448006 - Disable mipmaps in WR. r=mstange MozReview-Commit-ID: HlUzStD16Pa diff --git a/dom/html/reftests/reftest.list b/dom/html/reftests/reftest.list --- 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 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 diff --git a/gfx/webrender_bindings/src/bindings.rs b/gfx/webrender_bindings/src/bindings.rs --- a/gfx/webrender_bindings/src/bindings.rs +++ b/gfx/webrender_bindings/src/bindings.rs @@ -262,17 +262,17 @@ impl<'a> Into 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); diff --git a/layout/reftests/backgrounds/vector/reftest.list b/layout/reftests/backgrounds/vector/reftest.list --- 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