diff options
| author | 2024-10-03 05:22:11 +0000 | |
|---|---|---|
| committer | 2024-10-03 05:22:11 +0000 | |
| commit | 111e26e04aebadd0b6efcd71e1efe3ad4efce1fc (patch) | |
| tree | 401d3488a8540b1805946a557256246b8bf316f3 | |
| parent | 432e447d7d012b74443cb95fdfdf278b64cb53fb (diff) | |
Add explanation for composition list order when dumping SurfaceFlinger
Add explanation to make the composition list order clearer.
Bug: 371037070
Test: adb shell dumpsys SurfaceFlinger
Flag: EXEMPT bugfix
Change-Id: I819c9512b9734a79c6beae1f382ab98447558699
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 65a0ed3065..16ad564b0e 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -5737,7 +5737,7 @@ void SurfaceFlinger::dumpHdrInfo(std::string& result) const { void SurfaceFlinger::dumpFrontEnd(std::string& result) { std::ostringstream out; - out << "\nComposition list\n"; + out << "\nComposition list (bottom to top)\n"; ui::LayerStack lastPrintedLayerStackHeader = ui::INVALID_LAYER_STACK; for (const auto& snapshot : mLayerSnapshotBuilder.getSnapshots()) { if (lastPrintedLayerStackHeader != snapshot->outputFilter.layerStack) { @@ -5765,7 +5765,7 @@ void SurfaceFlinger::dumpFrontEnd(std::string& result) { void SurfaceFlinger::dumpVisibleFrontEnd(std::string& result) { std::ostringstream out; - out << "\nComposition list\n"; + out << "\nComposition list (bottom to top)\n"; ui::LayerStack lastPrintedLayerStackHeader = ui::INVALID_LAYER_STACK; mLayerSnapshotBuilder.forEachVisibleSnapshot( [&](std::unique_ptr<frontend::LayerSnapshot>& snapshot) { |