diff options
author | Romain Guy <romainguy@google.com> | 2011-12-05 11:56:09 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-12-05 11:56:09 -0800 |
commit | 7da48db9c5c071cfc1c54a3709a02c1300dccd76 (patch) | |
tree | 960648b93566fe5b23dac29d39137f0c03378383 /libs/hwui/TextureCache.cpp | |
parent | 315e468763c9601e2f06443fda847d2c9eb27a75 (diff) | |
parent | 8f9a9f61ab793d9387a5942b307e74324704893b (diff) |
Merge "Clip text correctly Bug #5706056"
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
-rw-r--r-- | libs/hwui/TextureCache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index 711277a56d8a..60f4ca19d9b4 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp @@ -125,7 +125,8 @@ Texture* TextureCache::get(SkBitmap* bitmap) { if (!texture) { if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) { - LOGW("Bitmap too large to be uploaded into a texture"); + LOGW("Bitmap too large to be uploaded into a texture (%dx%d, max=%dx%d)", + bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize); return NULL; } |