Files
weston/clients
Scott Moreau 7e300dbc58 simple-egl: Avoid race condition.
After explaining the problem on irc, Pekka dictated this solution which works.
The problem is that simple-egl can hang when toggling fullscreen because of a
race where (quoting Pekka) "if it dispatches the frame callback simple-egl
itself requested before the Mesa's own frame callback came, simple-egl will go
to its redraw routing and call eglSwapBuffers so you end up effectively calling
eglSwapBuffers from within eglSwapBuffers, and deadlock". This patch avoids
redrawing (which calls eglSwapBuffers) when there is a pending frame callback.
2012-08-31 19:49:08 -04:00
..
2012-08-13 14:39:41 -04:00
2012-08-10 13:00:52 -04:00
2012-08-14 10:17:06 -04:00
2012-08-31 19:49:08 -04:00
2012-08-14 15:51:13 -04:00
2011-11-18 14:46:26 +02:00