commit | fbc8df03e498baf47ff1a5e05e182f1bcd60c770 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Nov 14 16:18:41 2014 -0800 |
committer | John Reck <jreck@google.com> | Mon Nov 17 10:18:31 2014 -0800 |
tree | de74f95227f7285e812ad4a0c009e697fcca7d6a | |
parent | b3ec64e1005c82d41b6d1a1d86b6933fd25d87d2 [diff] [blame] |
Trace some interesting events Bug: 18337099 Change-Id: Ie2e60da2b9f06e0368061c944d8123ab6903355c
diff --git a/libs/hwui/renderthread/EglManager.cpp b/libs/hwui/renderthread/EglManager.cpp index 9bd6f41..378cf61 100644 --- a/libs/hwui/renderthread/EglManager.cpp +++ b/libs/hwui/renderthread/EglManager.cpp
@@ -82,6 +82,8 @@ void EglManager::initialize() { if (hasEglContext()) return; + ATRACE_NAME("Creating EGLContext"); + mEglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, "Failed to get EGL_DEFAULT_DISPLAY! err=%s", egl_error_str());