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:
@@ -269,6 +269,13 @@ void GPUVideoTextureHost::PushDisplayItems(
|
||||
aFilter, aImageKeys, aFlags);
|
||||
}
|
||||
|
||||
bool GPUVideoTextureHost::SupportsExternalCompositing() {
|
||||
if (!EnsureWrappedTextureHost()) {
|
||||
return false;
|
||||
}
|
||||
return EnsureWrappedTextureHost()->SupportsExternalCompositing();
|
||||
}
|
||||
|
||||
void GPUVideoTextureHost::UnbindTextureSource() {
|
||||
if (EnsureWrappedTextureHost()) {
|
||||
EnsureWrappedTextureHost()->UnbindTextureSource();
|
||||
|
||||
Reference in New Issue
Block a user