Hi,

> Yes you want to use EGL here, I think we could probably put more code in qemu
> to help with this case.

Sure, if anything is needed we'll get that sorted ;)

I suspect spice-server needs access to the gl context helpers
(dpy_gl_ctx_*) if it wants use opengl.

Possibly it also wasn't the most clever way to pass on a dmabuf
filehandle to spice-server.  If spice-server needs ask qemu for a gl
context anyway we might pass around the texture id, then let
spice-server figure whenever it wants export it as dma-buf for a local
spice-client or do something else with the texture.

I think at the end of the day it boils down to what you need for the
vaapi interface.  If vaapi is able to accept dmabufs we should be fine
with the current setup.

> You'd probably want to talk to Gerd to find the nice/proper way to do things,
> but it most definitely involves egl, and most likely readpixels into a PBO.

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to