Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40224712 authored by Wenhui Yang's avatar Wenhui Yang Committed by Android (Google) Code Review
Browse files

Merge "Add explanation for composition list order when dumping SurfaceFlinger" into main

parents 5091ea10 111e26e0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5741,7 +5741,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) {
@@ -5769,7 +5769,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) {