Bug 1687427 - Update display list when ExternalCompositing is changed r=mattwoodrow

When when TexutureHost's SupportsExternalCompositing is changed, display list needs to be updated.

Differential Revision: https://phabricator.services.mozilla.com/D102264
This commit is contained in:
sotaro
2021-01-19 21:42:57 +00:00
parent 0bbdb11c08
commit acd0ec363d
8 changed files with 46 additions and 18 deletions

View File

@@ -250,6 +250,8 @@ Maybe<TextureHost::ResourceUpdateOp> AsyncImagePipelineManager::UpdateImageKeys(
previousTexture->GetSize() == texture->GetSize() &&
previousTexture->GetFormat() == texture->GetFormat() &&
previousTexture->NeedsYFlip() == texture->NeedsYFlip() &&
previousTexture->SupportsExternalCompositing() ==
texture->SupportsExternalCompositing() &&
aPipeline->mKeys.Length() == numKeys;
if (!canUpdate) {