[PATCH 0/6] ui: start adding dma-buf support
Gerd Hoffmann
kraxel at redhat.com
Tue Oct 10 13:54:47 UTC 2017
The kernel side of vfio display support seems to be close to merge
now, with some luck they hit the next merge window. Time to start
reviewing the qemu patches so they can be merged timely ...
This series adds support for dma-bufs to the qemu ui infrastructure
and the egl-headless ui (other UIs will follow later). Intel vgpu's
will export the guest display as dma-buf, so this is needed to show
the guest display.
Gerd Hoffmann (6):
console: add support for dmabufs
opengl: move shader init from console-gl.c to shader.c
opengl: add flipping vertex shader
egl-helpers: add dmabuf import support
egl-helpers: add egl_texture_blit and egl_texture_blend
egl-headless: add dmabuf support
Makefile | 6 ++--
include/qemu/typedefs.h | 1 +
include/ui/console.h | 39 ++++++++++++++++-----
include/ui/egl-helpers.h | 7 ++++
include/ui/gtk.h | 2 +-
include/ui/sdl2.h | 2 +-
include/ui/shader.h | 12 +++----
include/ui/spice-display.h | 2 +-
ui/console-gl.c | 45 ++++---------------------
ui/console.c | 33 ++++++++++++++++++
ui/egl-headless.c | 59 ++++++++++++++++++++++++++++++--
ui/egl-helpers.c | 73 ++++++++++++++++++++++++++++++++++++++++
ui/gtk-egl.c | 2 +-
ui/gtk-gl-area.c | 2 +-
ui/sdl2-gl.c | 4 +--
ui/shader.c | 57 ++++++++++++++++++++++++++-----
ui/spice-display.c | 2 +-
ui/shader/texture-blit-flip.vert | 10 ++++++
18 files changed, 283 insertions(+), 75 deletions(-)
create mode 100644 ui/shader/texture-blit-flip.vert
--
2.9.3
More information about the intel-gvt-dev
mailing list