Home
last modified time | relevance | path

Searched refs:linkedLayer (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerLifecycleManager.cpp138 RequestedLayerState* linkedLayer = getLayerFromId(linkedLayerId); in onHandlesDestroyed() local
139 LLOG_ALWAYS_FATAL_WITH_TRACE_IF(!linkedLayer, in onHandlesDestroyed()
142 if (linkedLayer->parentId == layer.id) { in onHandlesDestroyed()
143 linkedLayer->parentId = UNASSIGNED_LAYER_ID; in onHandlesDestroyed()
144 if (linkedLayer->canBeDestroyed()) { in onHandlesDestroyed()
145 linkedLayer->changes |= RequestedLayerState::Changes::Destroyed; in onHandlesDestroyed()
146 layersToBeDestroyed.emplace_back(linkedLayer->id); in onHandlesDestroyed()
149 if (linkedLayer->relativeParentId == layer.id) { in onHandlesDestroyed()
150 linkedLayer->relativeParentId = UNASSIGNED_LAYER_ID; in onHandlesDestroyed()
152 if (swapErase(linkedLayer->mirrorIds, layer.id)) { in onHandlesDestroyed()
[all …]
DLayerLifecycleManager.h93 uint32_t unlinkLayer(uint32_t layerId, uint32_t linkedLayer);
94 std::vector<uint32_t> unlinkLayers(const std::vector<uint32_t>& layerIds, uint32_t linkedLayer);