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

@@ -215,8 +215,9 @@ void WebRenderTextureHost::PushDisplayItems(
aImageKeys, aFlags);
}
bool WebRenderTextureHost::SupportsExternalCompositing() {
return mWrappedTextureHost->SupportsExternalCompositing();
bool WebRenderTextureHost::SupportsExternalCompositing(
WebRenderBackend aBackend) {
return mWrappedTextureHost->SupportsExternalCompositing(aBackend);
}
bool WebRenderTextureHost::NeedsYFlip() const {