Bug 1688096 - Part 1. Merge SW-WR and WR render texture host paths to allow mixed compositors. r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D104854
This commit is contained in:
Andrew Osmond
2021-02-18 11:50:05 +00:00
parent a2ea1a6a96
commit b76cb0a8b0
28 changed files with 313 additions and 352 deletions

View File

@@ -269,11 +269,12 @@ void GPUVideoTextureHost::PushDisplayItems(
aFilter, aImageKeys, aFlags);
}
bool GPUVideoTextureHost::SupportsExternalCompositing() {
bool GPUVideoTextureHost::SupportsExternalCompositing(
WebRenderBackend aBackend) {
if (!EnsureWrappedTextureHost()) {
return false;
}
return EnsureWrappedTextureHost()->SupportsExternalCompositing();
return EnsureWrappedTextureHost()->SupportsExternalCompositing(aBackend);
}
void GPUVideoTextureHost::UnbindTextureSource() {