summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-12-05 11:56:09 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-05 11:56:09 -0800
commit7da48db9c5c071cfc1c54a3709a02c1300dccd76 (patch)
tree960648b93566fe5b23dac29d39137f0c03378383 /libs/hwui/TextureCache.cpp
parent315e468763c9601e2f06443fda847d2c9eb27a75 (diff)
parent8f9a9f61ab793d9387a5942b307e74324704893b (diff)
Merge "Clip text correctly Bug #5706056"
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
-rw-r--r--libs/hwui/TextureCache.cpp3
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;
}