Loading libs/hwui/PathCache.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -280,6 +280,7 @@ void PathCache::clear() { } } void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { ATRACE_NAME("Upload Path Texture"); SkAutoLockPixels alp(bitmap); SkAutoLockPixels alp(bitmap); if (!bitmap.readyToDraw()) { if (!bitmap.readyToDraw()) { ALOGE("Cannot generate texture from bitmap"); ALOGE("Cannot generate texture from bitmap"); Loading Loading
libs/hwui/PathCache.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -280,6 +280,7 @@ void PathCache::clear() { } } void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) { ATRACE_NAME("Upload Path Texture"); SkAutoLockPixels alp(bitmap); SkAutoLockPixels alp(bitmap); if (!bitmap.readyToDraw()) { if (!bitmap.readyToDraw()) { ALOGE("Cannot generate texture from bitmap"); ALOGE("Cannot generate texture from bitmap"); Loading