commit | ec4cefc152749f9805d3a971a4a395687b5a3831 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Tue Jul 29 09:49:13 2014 -0700 |
committer | John Reck <jreck@google.com> | Tue Jul 29 10:04:01 2014 -0700 |
tree | 175982729ee6838969d9cdcfa96cc0a84b1f18e0 | |
parent | ea4f01070a9c8f5147eb228c413a84de78d98973 [diff] [blame] |
Add layer/texture creation tracing Change-Id: I0af6a36c97a9f5f35d28e0e36539ba8d8011ea7c
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp index 73a4da5..d05cabc 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp
@@ -88,6 +88,8 @@ return true; } + ATRACE_NAME("resizeLayer"); + const uint32_t maxTextureSize = caches.maxTextureSize; if (desiredWidth > maxTextureSize || desiredHeight > maxTextureSize) { ALOGW("Layer exceeds max. dimensions supported by the GPU (%dx%d, max=%dx%d)",