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 15:37:46 +00:00
parent be5cb5d474
commit cd218bcf63
28 changed files with 313 additions and 352 deletions

View File

@@ -339,7 +339,8 @@ void WebRenderLayerManager::EndTransactionWithoutLayer(
size_t preallocate =
mLastDisplayListSize < kMaxPrealloc ? mLastDisplayListSize : kMaxPrealloc;
wr::DisplayListBuilder builder(WrBridge()->GetPipeline(), preallocate,
wr::DisplayListBuilder builder(WrBridge()->GetPipeline(),
WrBridge()->GetWebRenderBackend(), preallocate,
&mDisplayItemCache);
wr::IpcResourceUpdateQueue resourceUpdates(WrBridge());