diff --git a/gfx/layers/wr/AsyncImagePipelineManager.cpp b/gfx/layers/wr/AsyncImagePipelineManager.cpp index 5f1a11f5252f..d0b4f395dfa9 100644 --- a/gfx/layers/wr/AsyncImagePipelineManager.cpp +++ b/gfx/layers/wr/AsyncImagePipelineManager.cpp @@ -440,11 +440,7 @@ void AsyncImagePipelineManager::ApplyAsyncImageForPipeline( MOZ_ASSERT(aPipeline->mCurrentTexture->AsWebRenderTextureHost()); Range range_keys(&keys[0], keys.Length()); TextureHost::PushDisplayItemFlagSet flags; - if (IsOpaque(aPipeline->mCurrentTexture->GetFormat()) || - bool(aPipeline->mCurrentTexture->GetFlags() & - TextureFlags::IS_OPAQUE)) { - flags += TextureHost::PushDisplayItemFlag::PREFER_COMPOSITOR_SURFACE; - } + flags += TextureHost::PushDisplayItemFlag::PREFER_COMPOSITOR_SURFACE; if (mApi->SupportsExternalBufferTextures()) { flags += TextureHost::PushDisplayItemFlag::SUPPORTS_EXTERNAL_BUFFER_TEXTURES; diff --git a/image/test/reftest/downscaling/reftest.list b/image/test/reftest/downscaling/reftest.list index 2b891aaeecaf..d30a486b78f6 100644 --- a/image/test/reftest/downscaling/reftest.list +++ b/image/test/reftest/downscaling/reftest.list @@ -89,7 +89,7 @@ fuzzy(0-20,0-999) fails-if(OSX>=1008&&!skiaContent) != downscale-2e.html?205,53, # Skip on Android because it runs reftests via http, and moz-icon isn't # accessible from http/https origins anymore. -fuzzy(0-17,0-3221) fuzzy-if(gtkWidget&&!webrender,4-4,2616-2616) fuzzy-if(gtkWidget&&!webrender&&!layersGPUAccelerated,0-0,0-0) fuzzy-if(gtkWidget&&webrender,0-0,0-0) skip-if(Android) == downscale-moz-icon-1.html downscale-moz-icon-1-ref.html # gtkWidget Bug 1592059: regular is 2616, no-accel is 0, qr passes with 0 +fuzzy(0-17,0-3940) fuzzy-if(gtkWidget&&!webrender,4-4,2616-2616) fuzzy-if(gtkWidget&&!webrender&&!layersGPUAccelerated,0-0,0-0) fuzzy-if(gtkWidget&&webrender,0-0,0-0) skip-if(Android) == downscale-moz-icon-1.html downscale-moz-icon-1-ref.html # gtkWidget Bug 1592059: regular is 2616, no-accel is 0, qr passes with 0 == downscale-png.html?16,16,interlaced downscale-png.html?16,16,normal == downscale-png.html?24,24,interlaced downscale-png.html?24,24,normal diff --git a/testing/web-platform/meta/css/css-images/object-position-png-001c.html.ini b/testing/web-platform/meta/css/css-images/object-position-png-001c.html.ini index d439e267b01c..3ba0350ab360 100644 --- a/testing/web-platform/meta/css/css-images/object-position-png-001c.html.ini +++ b/testing/web-platform/meta/css/css-images/object-position-png-001c.html.ini @@ -1,4 +1,6 @@ [object-position-png-001c.html] + fuzzy: + if swgl: maxDifference=0-1;totalPixels=290-300 expected: if webrender: PASS FAIL diff --git a/testing/web-platform/meta/css/css-images/object-position-png-002c.html.ini b/testing/web-platform/meta/css/css-images/object-position-png-002c.html.ini index e110004527c2..d1909ec84f9b 100644 --- a/testing/web-platform/meta/css/css-images/object-position-png-002c.html.ini +++ b/testing/web-platform/meta/css/css-images/object-position-png-002c.html.ini @@ -1,4 +1,6 @@ [object-position-png-002c.html] + fuzzy: + if swgl: maxDifference=0-1;totalPixels=290-300 expected: if webrender: PASS FAIL