Re: [Spice-devel] [PATCHv2 4/4] egl: fix delayed widget realize

2016-05-25 Thread Pavel Grunt
On Wed, 2016-05-25 at 12:20 +0200, Marc-André Lureau wrote: > When the display is not yet realized, spice_display_widget_gl_scanout() > will fail because the egl context is not ready. The display is never > marked ready because the egl.image (and egl.scanout) is not set, and > some clients, such

[Spice-devel] [PATCHv2 4/4] egl: fix delayed widget realize

2016-05-25 Thread Marc-André Lureau
When the display is not yet realized, spice_display_widget_gl_scanout() will fail because the egl context is not ready. The display is never marked ready because the egl.image (and egl.scanout) is not set, and some clients, such as virt-viewer will not realize the widget until the display is