icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -34,7 +34,7 @@ already_AddRefed<TextureClient> DcompSurfaceTexture::CreateTextureClient(
|
|||
KnowsCompositor* aKnowsCompositor) {
|
||||
RefPtr<TextureClient> textureClient = MakeAndAddRef<TextureClient>(
|
||||
new DcompSurfaceTexture(aHandle, aSize, aFormat), TextureFlags::NO_FLAGS,
|
||||
aKnowsCompositor->GetTextureForwarder());
|
||||
aKnowsCompositor->GetTextureForwarder().get());
|
||||
return textureClient.forget();
|
||||
}
|
||||
|
||||
|
|
@ -106,7 +106,12 @@ void DcompSurfaceHandleHost::PushResourceUpdates(
|
|||
return;
|
||||
}
|
||||
MOZ_ASSERT(mHandle);
|
||||
MOZ_ASSERT(aImageKeys.length() == 1);
|
||||
|
||||
if (aImageKeys.length() != 1) {
|
||||
MOZ_ASSERT_UNREACHABLE("unexpected key length");
|
||||
return;
|
||||
}
|
||||
|
||||
auto method = aOp == TextureHost::ADD_IMAGE
|
||||
? &wr::TransactionBuilder::AddExternalImage
|
||||
: &wr::TransactionBuilder::UpdateExternalImage;
|
||||
|
|
@ -137,7 +142,10 @@ void DcompSurfaceHandleHost::PushDisplayItems(
|
|||
return;
|
||||
}
|
||||
LOG("DcompSurfaceHandleHost %p PushDisplayItems", this);
|
||||
MOZ_ASSERT(aImageKeys.length() == 1);
|
||||
if (aImageKeys.length() != 1) {
|
||||
MOZ_ASSERT_UNREACHABLE("unexpected key length");
|
||||
return;
|
||||
}
|
||||
aBuilder.PushImage(
|
||||
aBounds, aClip, true, false, aFilter, aImageKeys[0],
|
||||
!(mFlags & TextureFlags::NON_PREMULTIPLIED),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue