[Spice-devel] [PATCH 0/8] spice: add opengl/virgl/dmabuf support

Marc-André Lureau marcandre.lureau at gmail.com
Thu Feb 18 12:20:17 UTC 2016


Hi

On Thu, Feb 18, 2016 at 10:26 AM, Gerd Hoffmann <kraxel at redhat.com> wrote:
>   Hi,
>
> This patch series adds support for opengl and dma-buf passing to spice.
> With this in place you can use virtio-gpu in 3d (virgl) mode with spice.
> Not fully clear whenever the last patch (tagged as RfC) is actually
> needed.
>
> please review,
>   Gerd
>
> Gerd Hoffmann (7):
>   configure: add dma-buf support detection.
>   egl-helpers: add functions for render nodes and dma-buf passing
>   console: track gl_block state in QemuConsole
>   spice: add opengl/virgl/dmabuf support
>   spice: tweak debug messages.
>   spice/gl: render DisplaySurface via opengl
>   spice/gl: create dummy primary surface (RfC)
>
> Marc-André Lureau (1):
>   spice: reset cursor on resize
>

Please reorder so that "track gl_block state" is closer to what it is
actually needed for.

After "add opengl/virgl/dmabuf support", spice+virgl starts working.
I'd like to have this ready and merged before the rest of the series,
so I'll focus on that.

>  configure                  |  20 +++-
>  include/ui/console.h       |   1 +
>  include/ui/egl-helpers.h   |  13 +++
>  include/ui/spice-display.h |  20 ++++
>  qemu-options.hx            |   4 +
>  ui/console.c               |  15 ++-
>  ui/egl-helpers.c           | 129 +++++++++++++++++++++++++
>  ui/spice-core.c            |  18 +++-
>  ui/spice-display.c         | 230 +++++++++++++++++++++++++++++++++++++++++++--
>  9 files changed, 437 insertions(+), 13 deletions(-)
>
> --
> 1.8.3.1
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list