am 960972d4: Merge change 27375 into eclair
Merge commit '960972d465d6890d51c73fc08dda7fb17825ce7f' into eclair-plus-aosp * commit '960972d465d6890d51c73fc08dda7fb17825ce7f': Allways dump the list of allocated buffers when an allocation fails.
This commit is contained in:
@@ -102,6 +102,10 @@ status_t BufferAllocator::alloc(uint32_t w, uint32_t h, PixelFormat format,
|
|||||||
rec.vaddr = 0;
|
rec.vaddr = 0;
|
||||||
rec.size = h * stride[0] * bytesPerPixel(format);
|
rec.size = h * stride[0] * bytesPerPixel(format);
|
||||||
list.add(*handle, rec);
|
list.add(*handle, rec);
|
||||||
|
} else {
|
||||||
|
String8 s;
|
||||||
|
dump(s);
|
||||||
|
LOGD("%s", s.string());
|
||||||
}
|
}
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user