Skip to content

Commit 111e26e

Browse files
author
Wenhui Yang
committed
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
1 parent 432e447 commit 111e26e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

services/surfaceflinger/SurfaceFlinger.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5737,7 +5737,7 @@ void SurfaceFlinger::dumpHdrInfo(std::string& result) const {
57375737

57385738
void SurfaceFlinger::dumpFrontEnd(std::string& result) {
57395739
std::ostringstream out;
5740-
out << "\nComposition list\n";
5740+
out << "\nComposition list (bottom to top)\n";
57415741
ui::LayerStack lastPrintedLayerStackHeader = ui::INVALID_LAYER_STACK;
57425742
for (const auto& snapshot : mLayerSnapshotBuilder.getSnapshots()) {
57435743
if (lastPrintedLayerStackHeader != snapshot->outputFilter.layerStack) {
@@ -5765,7 +5765,7 @@ void SurfaceFlinger::dumpFrontEnd(std::string& result) {
57655765

57665766
void SurfaceFlinger::dumpVisibleFrontEnd(std::string& result) {
57675767
std::ostringstream out;
5768-
out << "\nComposition list\n";
5768+
out << "\nComposition list (bottom to top)\n";
57695769
ui::LayerStack lastPrintedLayerStackHeader = ui::INVALID_LAYER_STACK;
57705770
mLayerSnapshotBuilder.forEachVisibleSnapshot(
57715771
[&](std::unique_ptr<frontend::LayerSnapshot>& snapshot) {

0 commit comments

Comments
 (0)