diff options
| author | Mathias Agopian <mathias@google.com> | 2010-02-26 18:59:23 -0800 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-02-26 18:59:23 -0800 |
| commit | 022a43b15bb5de7544c72e073394c6ff5cfc3d47 (patch) | |
| tree | 620c872220b866fc31960482434bddc32ba7d3c2 /libs/surfaceflinger/SurfaceFlinger.cpp | |
| parent | 7895da44e32e9c76e07663aae7084f11cbacbbdb (diff) | |
| download | frameworks_base-022a43b15bb5de7544c72e073394c6ff5cfc3d47.zip frameworks_base-022a43b15bb5de7544c72e073394c6ff5cfc3d47.tar.gz frameworks_base-022a43b15bb5de7544c72e073394c6ff5cfc3d47.tar.bz2 | |
to help debugging [2461567] Home screen redraw messed up
log SF's idea of the front buffer in dumpsys.
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | libs/surfaceflinger/SurfaceFlinger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp index b408779..4555b3c 100644 --- a/libs/surfaceflinger/SurfaceFlinger.cpp +++ b/libs/surfaceflinger/SurfaceFlinger.cpp @@ -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; |
