diff options
author | Mathias Agopian <mathias@google.com> | 2011-01-19 16:15:53 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-01-19 16:15:53 -0800 |
commit | 06a61e2fa830fcd66c12741a52cc5d9b4b214f94 (patch) | |
tree | 896f71ee0d07174a573819a79ac9e0f15202ad1c /libs/ui | |
parent | 7a97ad421b50208dc2f484cc23fa3bb29331a713 (diff) | |
download | frameworks_base-06a61e2fa830fcd66c12741a52cc5d9b4b214f94.zip frameworks_base-06a61e2fa830fcd66c12741a52cc5d9b4b214f94.tar.gz frameworks_base-06a61e2fa830fcd66c12741a52cc5d9b4b214f94.tar.bz2 |
improve SurfaceFlinger 'dumpsys' log
list the purgatory, which shows windows that have been closed,
but for which the client still has references.
Change-Id: I5168bb88cb328d5d77d71d0871deb9190f493126
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/GraphicBufferAllocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/GraphicBufferAllocator.cpp b/libs/ui/GraphicBufferAllocator.cpp index ce84683..33ef1fc 100644 --- a/libs/ui/GraphicBufferAllocator.cpp +++ b/libs/ui/GraphicBufferAllocator.cpp @@ -61,7 +61,7 @@ void GraphicBufferAllocator::dump(String8& result) const const size_t c = list.size(); for (size_t i=0 ; i<c ; i++) { const alloc_rec_t& rec(list.valueAt(i)); - snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %2d | 0x%08x\n", + snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %8X | 0x%08x\n", list.keyAt(i), rec.size/1024.0f, rec.w, rec.s, rec.h, rec.format, rec.usage); result.append(buffer); |