diff options
author | Chris Craik <ccraik@google.com> | 2015-05-13 17:05:48 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-05-13 17:05:48 -0700 |
commit | cf8426c4eb60924d2387e0769d6cdc426178a31f (patch) | |
tree | aca88c6ac35aa61a451b74a6e70928cf4e734387 /libs/hwui/PathCache.cpp | |
parent | 55e603ee9de06125751292c84f1b25fb9a78d4e4 (diff) | |
download | frameworks_base-cf8426c4eb60924d2387e0769d6cdc426178a31f.zip frameworks_base-cf8426c4eb60924d2387e0769d6cdc426178a31f.tar.gz frameworks_base-cf8426c4eb60924d2387e0769d6cdc426178a31f.tar.bz2 |
Add tracing for path texture upload
Change-Id: I4918e5a3c7e01b321d428b20babd48bf69a708e4
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r-- | libs/hwui/PathCache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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::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"); |