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

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

 



Hi

----- Original Message -----
> Hi,
> 
> On Mon, May 23, 2016 at 11:31:52AM +0200, Marc-André Lureau wrote:
> > Hi
> >
> > On Mon, May 23, 2016 at 10:21 AM, Victor Toso <lists@xxxxxxxxxxxxxx> wrote:
> > > Could you also include a fix that calls eglTerminate ?
> >
> > Since this is global resources, spice-gtk (a library) can't do that by
> > itself without risking to break somebody else code.
> 
> Sorry, I don't really follow. The spice-gtk lib does eglInitialize on
> spice_egl_init but we should not eglTerminate at some point?

Yes, " Initializing an already initialized EGL display connection has no effect besides returning the version numbers. "

this is not the case with eglterminate, we can't call it as egl may be used by somebody else code.

> 
> >
> > --
> > Marc-André Lureau
> _______________________________________________
> 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]