Bug 1724846 - Split DL spatial tree to separate payload r=gfx-reviewers,nical
This will allow experimenting with different representations of the spatial tree (such as interning and/or providing stable indices during display list building). It may also simplify future changes to the public API to expose the spatial tree directly. As part of these changes, refactor how the debug representation for the capture format is (de)serialized, to make it simpler to add different payload vector types in future. Differential Revision: https://phabricator.services.mozilla.com/D122183
This commit is contained in:
@@ -455,6 +455,7 @@ void WebRenderLayerManager::EndTransactionWithoutLayer(
|
||||
builder.Finalize(dlData);
|
||||
mLastDisplayListSize.items_size = dlData.mDLItems->mCapacity;
|
||||
mLastDisplayListSize.cache_size = dlData.mDLCache->mCapacity;
|
||||
mLastDisplayListSize.spatial_tree_size = dlData.mDLSpatialTree->mCapacity;
|
||||
resourceUpdates.Flush(dlData.mResourceUpdates, dlData.mSmallShmems,
|
||||
dlData.mLargeShmems);
|
||||
dlData.mRect =
|
||||
|
||||
Reference in New Issue
Block a user