Home
last modified time | relevance | path

Searched refs:TraversalPath (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerHierarchy.h80 struct TraversalPath { struct
105 bool operator==(const TraversalPath& other) const { argument
110 static const TraversalPath ROOT; argument
114 std::size_t operator()(const LayerHierarchy::TraversalPath& key) const { in operator()
127 ScopedAddToTraversalPath(TraversalPath& traversalPath, uint32_t layerId,
132 TraversalPath& mTraversalPath;
133 TraversalPath mParentPath;
141 const LayerHierarchy::TraversalPath& traversalPath)>
146 TraversalPath root = TraversalPath::ROOT; in traverse()
155 TraversalPath root = TraversalPath::ROOT; in traverseInZOrder()
[all …]
DLayerSnapshotBuilder.h75 LayerSnapshot* getSnapshot(const LayerHierarchy::TraversalPath& id) const;
102 LayerHierarchy::TraversalPath& traversalPath,
105 const LayerSnapshot& parentSnapshot, const LayerHierarchy::TraversalPath&);
116 const LayerSnapshot& parentSnapshot, const LayerHierarchy::TraversalPath& path,
120 LayerSnapshot* createSnapshot(const LayerHierarchy::TraversalPath& id,
127 std::unordered_map<LayerHierarchy::TraversalPath, LayerSnapshot*,
133 std::unordered_set<LayerHierarchy::TraversalPath, LayerHierarchy::TraversalPathHash>
DLayerSnapshot.h49 LayerSnapshot(const RequestedLayerState&, const LayerHierarchy::TraversalPath&);
51 LayerHierarchy::TraversalPath path;
98 LayerHierarchy::TraversalPath mirrorRootPath;
DLayerHierarchy.cpp55 void LayerHierarchy::traverse(const Visitor& visitor, LayerHierarchy::TraversalPath& traversalPath, in traverse()
78 LayerHierarchy::TraversalPath& traversalPath) const { in traverseInZOrder()
187 const LayerHierarchy::TraversalPath& traversalPath) -> bool { in hasRelZLoop()
488 const LayerHierarchy::TraversalPath LayerHierarchy::TraversalPath::ROOT =
491 std::string LayerHierarchy::TraversalPath::toString() const { in toString()
521 LayerHierarchy::ScopedAddToTraversalPath::ScopedAddToTraversalPath(TraversalPath& traversalPath, in ScopedAddToTraversalPath()
DLayerSnapshotBuilder.cpp344 snapshot.path = LayerHierarchy::TraversalPath::ROOT; in getRootSnapshot()
447 LayerHierarchy::TraversalPath root = LayerHierarchy::TraversalPath::ROOT; in updateSnapshots()
524 LayerHierarchy::TraversalPath& traversalPath, const LayerSnapshot& parentSnapshot, in updateSnapshotsInHierarchy()
568 LayerHierarchy::TraversalPath path{.id = layerId}; in getSnapshot()
572 LayerSnapshot* LayerSnapshotBuilder::getSnapshot(const LayerHierarchy::TraversalPath& id) const { in getSnapshot()
577 LayerSnapshot* LayerSnapshotBuilder::createSnapshot(const LayerHierarchy::TraversalPath& path, in createSnapshot()
608 const LayerHierarchy::TraversalPath& traversalPath) -> bool { in sortSnapshotsByZ()
713 const LayerHierarchy::TraversalPath& path) { in updateSnapshot()
736 parentSnapshot.path == LayerHierarchy::TraversalPath::ROOT in updateSnapshot()
1048 const LayerHierarchy::TraversalPath& path, in updateInput()
[all …]
DLayerSnapshot.cpp103 const LayerHierarchy::TraversalPath& path) in LayerSnapshot()
131 LayerHierarchy::isMirror(path.variant) ? path : LayerHierarchy::TraversalPath::ROOT; in LayerSnapshot()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h95 frontend::LayerHierarchy::TraversalPath& path);
96 frontend::LayerSnapshot* getSnapshot(frontend::LayerHierarchy::TraversalPath& path,
105 std::unordered_map<frontend::LayerHierarchy::TraversalPath, frontend::LayerSnapshot,
DFpsReporter.cpp58 const frontend::LayerHierarchy::TraversalPath& traversalPath) { in dispatchLayerFps()
83 const frontend::LayerHierarchy::TraversalPath& traversalPath) { in dispatchLayerFps()
DLayerProtoHelper.cpp278 frontend::LayerHierarchy::TraversalPath path = frontend::LayerHierarchy::TraversalPath::ROOT; in generate()
313 frontend::LayerHierarchy::TraversalPath& path, const frontend::RequestedLayerState& layer) { in getSnapshot()
324 const frontend::LayerHierarchy& root, frontend::LayerHierarchy::TraversalPath& path) { in writeHierarchyToProto()
DLayer.h350 sp<LayerFE> getCompositionEngineLayerFE(const frontend::LayerHierarchy::TraversalPath&);
351 sp<LayerFE> getOrCreateCompositionEngineLayerFE(const frontend::LayerHierarchy::TraversalPath&);
1012 const DisplayDevice*, const frontend::LayerHierarchy::TraversalPath& path) const;
1292 std::vector<std::pair<frontend::LayerHierarchy::TraversalPath, sp<LayerFE>>> mLayerFEs;
DLayer.cpp2587 frontend::LayerHierarchy::TraversalPath path{.id = static_cast<uint32_t>(sequence)}; in findOutputLayerForDisplay()
2599 const DisplayDevice* display, const frontend::LayerHierarchy::TraversalPath& path) const { in findOutputLayerForDisplay()
3991 const frontend::LayerHierarchy::TraversalPath& path) { in getCompositionEngineLayerFE()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHierarchyTest.h79 const LayerHierarchy::TraversalPath&) -> bool { in getTraversalPath()
90 const LayerHierarchy::TraversalPath&) -> bool { in getTraversalPathInZOrder()
DLayerHierarchyTest.cpp603 const LayerHierarchy::TraversalPath& traversalPath) -> bool { in TEST_F()
DLayerSnapshotTest.cpp111 LayerSnapshot* getSnapshot(const LayerHierarchy::TraversalPath path) { in getSnapshot()