summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_context_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/gl_context_linux.cc')
-rw-r--r--ui/gl/gl_context_linux.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gl/gl_context_linux.cc b/ui/gl/gl_context_linux.cc
index 2b5d16f..667df48 100644
--- a/ui/gl/gl_context_linux.cc
+++ b/ui/gl/gl_context_linux.cc
@@ -4,6 +4,7 @@
#include "ui/gl/gl_context.h"
+#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "third_party/mesa/MesaLib/include/GL/osmesa.h"
@@ -26,6 +27,7 @@ scoped_refptr<GLContext> GLContext::CreateGLContext(
GLShareGroup* share_group,
GLSurface* compatible_surface,
GpuPreference gpu_preference) {
+ TRACE_EVENT0("gpu", "GLContext::CreateGLContext");
switch (GetGLImplementation()) {
case kGLImplementationOSMesaGL: {
scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));