Skip to content

Commit 4022471

Browse files
Wenhui YangAndroid (Google) Code Review
authored andcommitted
Merge "Add explanation for composition list order when dumping SurfaceFlinger" into main
2 parents 5091ea1 + 111e26e commit 4022471

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
@@ -5741,7 +5741,7 @@ void SurfaceFlinger::dumpHdrInfo(std::string& result) const {
57415741

57425742
void SurfaceFlinger::dumpFrontEnd(std::string& result) {
57435743
std::ostringstream out;
5744-
out << "\nComposition list\n";
5744+
out << "\nComposition list (bottom to top)\n";
57455745
ui::LayerStack lastPrintedLayerStackHeader = ui::INVALID_LAYER_STACK;
57465746
for (const auto& snapshot : mLayerSnapshotBuilder.getSnapshots()) {
57475747
if (lastPrintedLayerStackHeader != snapshot->outputFilter.layerStack) {
@@ -5769,7 +5769,7 @@ void SurfaceFlinger::dumpFrontEnd(std::string& result) {
57695769

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

0 commit comments

Comments
 (0)