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

Commit 07f89499 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "to help debugging [2461567] Home screen redraw messed up"

parents c8ff2229 45853c97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -78,6 +78,8 @@ public:
    inline const sp<FreezeLock>&  getFreezeLock() const { return mFreezeLock; }
    // only for debugging
    inline PixelFormat pixelFormat() const { return mFormat; }
    // only for debugging
    inline int getFrontBufferIndex() const { return mFrontBufferIndex; }

private:
    inline sp<GraphicBuffer> getFrontBufferLocked() {
+4 −0
Original line number Diff line number Diff line
@@ -1519,6 +1519,10 @@ status_t SurfaceFlinger::dump(int fd, const Vector<String16>& args)
            if (l != 0) {
                SharedBufferStack::Statistics stats = l->lcblk->getStats();
                result.append( l->lcblk->dump("      ") );
                snprintf(buffer, SIZE,
                        "      front-index=%u\n", l->getFrontBufferIndex());
                result.append(buffer);

                sp<const GraphicBuffer> buf0(l->getBuffer(0));
                sp<const GraphicBuffer> buf1(l->getBuffer(1));
                uint32_t w0=0, h0=0, s0=0;