Re: [spice-gtk PATCH v2] spice-widget: init egl only after first gl_scanout

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

 



Hi

----- Original Message -----
> 
> By the way, this egl initialization in the realize handler is actually
> breaking spice-gtk with newer gtk+ (specifically gtk+ master). The
> cairo widget stops redrawing until the widget gets resized, and then it
> freezes again until the next resize. When I commented out the egl init,
> the issue disappeared. This patch also fixes this issue.
> 

Hmm, do you know which commit in gtk+ did that? Is it because gtk+ upstream is also using a GL rendering now?

It's probably not going to solve it all by just moving the egl init until gl-scanout, since spice/spice-gtk has the ability to switch between gl/scanout and non-gl/canvas at will (although that will not happen anymore with some improvements in qemu, "spice/gl: render DisplaySurface via opengl" not yet upstream).
_______________________________________________
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]