[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] ui: start adding dma-buf support
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 0/6] ui: start adding dma-buf support |
Date: |
Tue, 10 Oct 2017 15:54:47 +0200 |
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
- [Qemu-devel] [PATCH 0/6] ui: start adding dma-buf support,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 6/6] egl-headless: add dmabuf support, Gerd Hoffmann, 2017/10/10
- [Qemu-devel] [PATCH 2/6] opengl: move shader init from console-gl.c to shader.c, Gerd Hoffmann, 2017/10/10
- [Qemu-devel] [PATCH 5/6] egl-helpers: add egl_texture_blit and egl_texture_blend, Gerd Hoffmann, 2017/10/10
- [Qemu-devel] [PATCH 4/6] egl-helpers: add dmabuf import support, Gerd Hoffmann, 2017/10/10
- [Qemu-devel] [PATCH 3/6] opengl: add flipping vertex shader, Gerd Hoffmann, 2017/10/10
- [Qemu-devel] [PATCH 1/6] console: add support for dmabufs, Gerd Hoffmann, 2017/10/10