summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2015-05-14 15:53:17 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2015-05-14 15:53:18 +0000
commit30bc0b9ebb6ea60427f4c42bb019557299dc2753 (patch)
treead4c48d62e927e951e74b10e39c6a7cfd7e2b7df
parenta1fb2cf6a6b8e69b57346b598e1c0904614250d7 (diff)
parentcf8426c4eb60924d2387e0769d6cdc426178a31f (diff)
Merge "Add tracing for path texture upload" into mnc-dev
-rw-r--r--libs/hwui/PathCache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp
index 8f5fea3bb7c1..e4666046fa3f 100644
--- a/libs/hwui/PathCache.cpp
+++ b/libs/hwui/PathCache.cpp
@@ -280,6 +280,7 @@ void PathCache::clear() {
}
void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) {
+ ATRACE_NAME("Upload Path Texture");
SkAutoLockPixels alp(bitmap);
if (!bitmap.readyToDraw()) {
ALOGE("Cannot generate texture from bitmap");