Recover from eglSwapBuffers() errors in gl_renderer_repaint_output()
Submitted by Miguel A. Vico
Assigned to Miguel A. Vico
Currently, if eglSwapBuffers() fails in gl_renderer_repaint_output(), only an error message is logged.
Compositors should be allowed to recover from such errors, or abort if the error is fatal.
This bug is intended to track the progress of adding some mechanism to notify compositors of an eglSwapBuffers() call, and let them take the appropriate action.
Adding a callback in libweston might be a good solution to explore.