commit | cf8426c4eb60924d2387e0769d6cdc426178a31f | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Wed May 13 17:05:48 2015 -0700 |
committer | Chris Craik <ccraik@google.com> | Wed May 13 17:05:48 2015 -0700 |
tree | aca88c6ac35aa61a451b74a6e70928cf4e734387 | |
parent | 55e603ee9de06125751292c84f1b25fb9a78d4e4 [diff] |
Add tracing for path texture upload Change-Id: I4918e5a3c7e01b321d428b20babd48bf69a708e4
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index 8f5fea3..e466604 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp
@@ -280,6 +280,7 @@ } void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { + ATRACE_NAME("Upload Path Texture"); SkAutoLockPixels alp(bitmap); if (!bitmap.readyToDraw()) { ALOGE("Cannot generate texture from bitmap");