From cf8426c4eb60924d2387e0769d6cdc426178a31f Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 13 May 2015 17:05:48 -0700 Subject: Add tracing for path texture upload Change-Id: I4918e5a3c7e01b321d428b20babd48bf69a708e4 --- libs/hwui/PathCache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/PathCache.cpp') 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"); -- cgit v1.1