summaryrefslogtreecommitdiff
path: root/libs/hwui/ShapeCache.h
diff options
context:
space:
mode:
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
commit7da48db9c5c071cfc1c54a3709a02c1300dccd76 (patch)
tree960648b93566fe5b23dac29d39137f0c03378383 /libs/hwui/ShapeCache.h
parent315e468763c9601e2f06443fda847d2c9eb27a75 (diff)
parent8f9a9f61ab793d9387a5942b307e74324704893b (diff)
Merge "Clip text correctly Bug #5706056"
Diffstat (limited to 'libs/hwui/ShapeCache.h')
-rw-r--r--libs/hwui/ShapeCache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/ShapeCache.h b/libs/hwui/ShapeCache.h
index 8b88d30ef9b2..f64c074c58a8 100644
--- a/libs/hwui/ShapeCache.h
+++ b/libs/hwui/ShapeCache.h
@@ -503,7 +503,8 @@ PathTexture* ShapeCache<Entry>::addTexture(const Entry& entry, const SkPath *pat
const uint32_t height = uint32_t(pathHeight + offset * 2.0 + 0.5);
if (width > mMaxTextureSize || height > mMaxTextureSize) {
- LOGW("Shape %s too large to be rendered into a texture", mName);
+ LOGW("Shape %s too large to be rendered into a texture (%dx%d, max=%dx%d)",
+ mName, width, height, mMaxTextureSize, mMaxTextureSize);
return NULL;
}