| Index: ui/gl/gl_surface_glx.cc
|
| diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
|
| index 8f0fe89e715f3c332ab4d1b87ac52e11b1a66a8e..cb3c06df2a55e4c4a0920a603e98aa7088c2a8e4 100644
|
| --- a/ui/gl/gl_surface_glx.cc
|
| +++ b/ui/gl/gl_surface_glx.cc
|
| @@ -600,6 +600,10 @@ bool NativeViewGLSurfaceGLX::IsOffscreen() {
|
| }
|
|
|
| bool NativeViewGLSurfaceGLX::SwapBuffers() {
|
| + TRACE_EVENT2("gpu", "NativeViewGLSurfaceGLX:RealSwapBuffers",
|
| + "width", GetSize().width(),
|
| + "height", GetSize().height());
|
| +
|
| glXSwapBuffers(g_display, GetDrawableHandle());
|
| return true;
|
| }
|
|
|