1 From 841609f8245f94194d9e6caabafb4d3878de7051 Mon Sep 17 00:00:00 2001
2 From: Joone Hur <joone.hur@intel.com>
3 Date: Wed, 1 Oct 2014 15:10:54 -0700
4 Subject: [PATCH] Fix crash when switching to console(VT) mode
6 Buffer swapping should not be synchronized so that the GPU process
7 is not blocked by waiting for a frame update from Weston.
11 ui/gl/gl_context_egl.cc | 4 ++++
12 1 file changed, 4 insertions(+)
14 diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc
15 index 2554f8c..6cd5d4c 100644
16 --- a/ui/gl/gl_context_egl.cc
17 +++ b/ui/gl/gl_context_egl.cc
18 @@ -112,6 +112,10 @@ bool GLContextEGL::MakeCurrent(GLSurface* surface) {
22 +#if defined(USE_OZONE)
23 + eglSwapInterval(display_, 0);
26 // Set this as soon as the context is current, since we might call into GL.