summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-11-18 10:49:23 -0800
committerChris Craik <ccraik@google.com>2014-11-19 17:24:30 -0800
commit70850ea258cbf91477efa57a1f1a23cc0044cc93 (patch)
tree674621c2adc816afae2a1d09291fcd4af12b08e7 /libs/hwui/Program.cpp
parent6c912b7d056c67b41fd46f31de168795e97c2336 (diff)
Improve logging around performance critical events
bug:17702227 Add details useful to developers (such as layer size/View name), and switch away from logging implementation names/details, since they are generally not relevant to developers. Change-Id: Iee605d182f241450f7e75a6d0c283d51fa1312f5
Diffstat (limited to 'libs/hwui/Program.cpp')
-rw-r--r--libs/hwui/Program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp
index 0dad0dcae641..e6fd2dc370c2 100644
--- a/libs/hwui/Program.cpp
+++ b/libs/hwui/Program.cpp
@@ -132,7 +132,7 @@ int Program::getUniform(const char* name) {
}
GLuint Program::buildShader(const char* source, GLenum type) {
- ATRACE_CALL();
+ ATRACE_NAME("Build GL Shader");
GLuint shader = glCreateShader(type);
glShaderSource(shader, 1, &source, 0);