diff options
| author | 2009-09-27 21:47:29 -0400 | |
|---|---|---|
| committer | 2009-09-27 21:47:29 -0400 | |
| commit | ff5054c81e400665a6adf8c7881e5ee2183716e4 (patch) | |
| tree | ce743d492f9b6c27d144c549a00226943fcc58e3 | |
| parent | 72cffcb70115ee3a870cd7e5894e49087c02b445 (diff) | |
| parent | 737e786acffe87a086720bf2cf0d8b9f818b12be (diff) | |
Merge change 27375 into eclair
* changes:
Allways dump the list of allocated buffers when an allocation fails.
| -rw-r--r-- | libs/surfaceflinger/BufferAllocator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaceflinger/BufferAllocator.cpp b/libs/surfaceflinger/BufferAllocator.cpp index 19867a519a..caf9bec767 100644 --- a/libs/surfaceflinger/BufferAllocator.cpp +++ b/libs/surfaceflinger/BufferAllocator.cpp @@ -102,6 +102,10 @@ status_t BufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format, rec.vaddr = 0; rec.size = h * stride[0] * bytesPerPixel(format); list.add(*handle, rec); + } else { + String8 s; + dump(s); + LOGD("%s", s.string()); } return err; |