зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1733973 - Remove unused layers::UpdateIndirectTree(). r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D127517
This commit is contained in:
Родитель
92a33e46f7
Коммит
c17ac7f311
|
@ -1798,13 +1798,6 @@ void CompositorBridgeParent::InvalidateRemoteLayers() {
|
|||
});
|
||||
}
|
||||
|
||||
void UpdateIndirectTree(LayersId aId, Layer* aRoot,
|
||||
const TargetConfig& aTargetConfig) {
|
||||
MonitorAutoLock lock(*sIndirectLayerTreesLock);
|
||||
sIndirectLayerTrees[aId].mRoot = aRoot;
|
||||
sIndirectLayerTrees[aId].mTargetConfig = aTargetConfig;
|
||||
}
|
||||
|
||||
/* static */ CompositorBridgeParent::LayerTreeState*
|
||||
CompositorBridgeParent::GetIndirectShadowTree(LayersId aId) {
|
||||
// Only the compositor thread should use this method variant
|
||||
|
|
|
@ -488,7 +488,6 @@ class CompositorBridgeParent final : public CompositorBridgeParentBase,
|
|||
// their FrameMetrics with the corresponding child process that holds
|
||||
// the PCompositorBridgeChild
|
||||
ContentCompositorBridgeParent* mContentCompositorBridgeParent;
|
||||
TargetConfig mTargetConfig;
|
||||
|
||||
CompositorController* GetCompositorController() const;
|
||||
RefPtr<UiCompositorControllerParent> mUiControllerParent;
|
||||
|
|
|
@ -45,8 +45,6 @@ namespace layers {
|
|||
typedef std::map<LayersId, CompositorBridgeParent::LayerTreeState> LayerTreeMap;
|
||||
extern LayerTreeMap sIndirectLayerTrees;
|
||||
extern StaticAutoPtr<mozilla::Monitor> sIndirectLayerTreesLock;
|
||||
void UpdateIndirectTree(LayersId aId, Layer* aRoot,
|
||||
const TargetConfig& aTargetConfig);
|
||||
void EraseLayerState(LayersId aId);
|
||||
|
||||
void ContentCompositorBridgeParent::ActorDestroy(ActorDestroyReason aWhy) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче