summaryrefslogtreecommitdiff
path: root/libs/hwui/TextureCache.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-11-20 17:27:36 -0800
committer Chris Craik <ccraik@google.com> 2014-11-20 17:27:36 -0800
commit06e7fe5a70409d2050b2b3e1286500f5223099da (patch)
treeb7eea29ebe9ffc345f68a879199e2904c5c78423 /libs/hwui/TextureCache.cpp
parentb946358bb5afd9db6a0914171d3f237c77abbfea (diff)
parentf2235b6a48db2e16b52711570bf2a0d0cb0b0d90 (diff)
resolve merge conflicts of f2235b6 to master.
Change-Id: Ibcef3a37ca0749931d509b53bd52e53a7d30ddbb
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
-rw-r--r--libs/hwui/TextureCache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp
index 0cd120a581da..b1fa3835d3c8 100644
--- a/libs/hwui/TextureCache.cpp
+++ b/libs/hwui/TextureCache.cpp
@@ -27,6 +27,7 @@
#include "Texture.h"
#include "TextureCache.h"
#include "Properties.h"
+#include "utils/TraceUtils.h"
namespace android {
namespace uirenderer {
@@ -267,7 +268,7 @@ void TextureCache::generateTexture(const SkBitmap* bitmap, Texture* texture, boo
return;
}
- ATRACE_CALL();
+ ATRACE_FORMAT("Upload %ux%u Texture", bitmap->width(), bitmap->height());
// We could also enable mipmapping if both bitmap dimensions are powers
// of 2 but we'd have to deal with size changes. Let's keep this simple