[Spice-devel] [PATCH v2 00/12] spice: add opengl/virgl/dmabuf support

Gerd Hoffmann kraxel at redhat.com
Fri Feb 19 09:14:37 UTC 2016


  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.

In v2 I've reordered the patches a bit, cherry-picked the forgotton
monitor-config patch, addressed the review comments from Marc.

Merge plan:  Patches 1-6 should be (almost) ready for merge and are
needed for initial support.  They go probably first, so the work
higher up the stack (libvirt etc) can start.

The remaining patches will hopefully follow before 2.6 release too,
but they probably need some more discussion and coordination with
spice-server.  I expect they will go into a separate pull request.

Patch #12 will be squashed, either patch #11 or patch #9, depending
on the merge ordering, so I kept it separate for now.

please review,
  Gerd

Gerd Hoffmann (11):
  spice: init dcl before registering qxl interface
  configure: add dma-buf support detection.
  egl-helpers: add functions for render nodes and dma-buf passing
  spice: add opengl/virgl/dmabuf support
  spice: add unblock timer
  spice: tweak debug messages.
  console: track gl_block state in QemuConsole
  spice/gl: render DisplaySurface via opengl
  spice/gl: create dummy primary surface (RfC)
  spice: add & use qemu_spice_gl_monitor_config
  [fixup] spice: qemu_spice_gl_monitor_config + surface

Marc-André Lureau (1):
  spice: reset cursor on resize

 configure                  |  20 +++-
 include/ui/console.h       |   1 +
 include/ui/egl-helpers.h   |  13 +++
 include/ui/spice-display.h |  19 ++++
 qemu-options.hx            |   4 +
 ui/console.c               |  15 ++-
 ui/egl-helpers.c           | 129 ++++++++++++++++++++++
 ui/spice-core.c            |  15 ++-
 ui/spice-display.c         | 263 +++++++++++++++++++++++++++++++++++++++++++--
 9 files changed, 463 insertions(+), 16 deletions(-)

-- 
1.8.3.1



More information about the Spice-devel mailing list