Merge "Add tracing for path texture upload" into mnc-dev

This commit is contained in:
Chris Craik
2015-05-14 15:53:17 +00:00
committed by Android (Google) Code Review

View File

@@ -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");