diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-27 21:47:29 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-09-27 21:47:29 -0400 |
commit | ff5054c81e400665a6adf8c7881e5ee2183716e4 (patch) | |
tree | ce743d492f9b6c27d144c549a00226943fcc58e3 | |
parent | 72cffcb70115ee3a870cd7e5894e49087c02b445 (diff) | |
parent | 737e786acffe87a086720bf2cf0d8b9f818b12be (diff) | |
download | frameworks_native-ff5054c81e400665a6adf8c7881e5ee2183716e4.zip frameworks_native-ff5054c81e400665a6adf8c7881e5ee2183716e4.tar.gz frameworks_native-ff5054c81e400665a6adf8c7881e5ee2183716e4.tar.bz2 |
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 19867a5..caf9bec 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; |