diff options
| author | 2009-05-29 14:55:06 -0700 | |
|---|---|---|
| committer | 2009-05-29 14:55:06 -0700 | |
| commit | 3c4d8c83da33bdd740afd683af42eca1a6bd6500 (patch) | |
| tree | 0dc5130f7eb8ad6df976263aaf4899db8ced0ba3 /libs/surfaceflinger/LayerBitmap.cpp | |
| parent | 253dd5cb262d5b49e692a428398dfc9284b34495 (diff) | |
log the geomerty of surfaces causing an out of memory in SurfaceFlinger.
Diffstat (limited to 'libs/surfaceflinger/LayerBitmap.cpp')
| -rw-r--r-- | libs/surfaceflinger/LayerBitmap.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBitmap.cpp b/libs/surfaceflinger/LayerBitmap.cpp index e84435088a..397ddc82e1 100644 --- a/libs/surfaceflinger/LayerBitmap.cpp +++ b/libs/surfaceflinger/LayerBitmap.cpp @@ -114,7 +114,9 @@ status_t LayerBitmap::setBits(uint32_t w, uint32_t h, uint32_t alignment, } if (mBitsMemory==0 || mSurface.data==0) { - LOGE("not enough memory for layer bitmap size=%u", size); + LOGE("not enough memory for layer bitmap " + "size=%u (w=%d, h=%d, stride=%d, format=%d)", + size, int(w), int(h), int(stride), int(format)); allocator->dump("LayerBitmap"); mSurface.data = 0; mSize = -1U; |