Re: [PATCH spice-gtk 6/7] egl: don't terminate display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, May 20, 2016 at 05:16:42PM +0200, Marc-André Lureau wrote:
> This is global to the display connection: all egl resources will be
> released, including those from other widgets or from the application.

This reverts 181ec2511902483df5c02ecf12db437d9975a53b

> Fix spice/virgl display being rendered black after another widget
> display is destroyed.

Could you also include a fix that calls eglTerminate ?

>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> ---
>  src/spice-widget-egl.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index 5c24524..754fc20 100644
> --- a/src/spice-widget-egl.c
> +++ b/src/spice-widget-egl.c
> @@ -387,7 +387,6 @@ void spice_egl_unrealize_display(SpiceDisplay *display)
>  
>          eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
>                         EGL_NO_CONTEXT);
> -        eglTerminate(d->egl.display);
>      }
>  }
>  
> -- 
> 2.7.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]