зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1706488 - Enable non-opaque compositor surface support r=gfx-reviewers,lsalzman
This removes the code in Gecko that was only allowing opaque compositor surfaces, now that the underlying work in WR and SWGL to support these is complete. Differential Revision: https://phabricator.services.mozilla.com/D112831
This commit is contained in:
Родитель
fa7e89456e
Коммит
3c0858c53d
|
@ -440,11 +440,7 @@ void AsyncImagePipelineManager::ApplyAsyncImageForPipeline(
|
|||
MOZ_ASSERT(aPipeline->mCurrentTexture->AsWebRenderTextureHost());
|
||||
Range<wr::ImageKey> 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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
[object-position-png-001c.html]
|
||||
fuzzy:
|
||||
if swgl: maxDifference=0-1;totalPixels=290-300
|
||||
expected:
|
||||
if webrender: PASS
|
||||
FAIL
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
[object-position-png-002c.html]
|
||||
fuzzy:
|
||||
if swgl: maxDifference=0-1;totalPixels=290-300
|
||||
expected:
|
||||
if webrender: PASS
|
||||
FAIL
|
||||
|
|
Загрузка…
Ссылка в новой задаче