From 70850ea258cbf91477efa57a1f1a23cc0044cc93 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 18 Nov 2014 10:49:23 -0800 Subject: 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 --- libs/hwui/Program.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/Program.cpp') 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); -- cgit v1.2.3-59-g8ed1b