On 05/10/2018 06:53 AM, Maciej Wolny wrote:
This patch set adds support for accelerated graphics rendering with
OpenGL
when using the SDL backend with QEMU. This takes advantage of the `-sdl gl`
option in QEMU.
Maciej Wolny (5):
qemu_command: Move SDL command line building into helper
qemu_command: Remove outdated comment
qemu: Add gl property to graphics of type sdl in domain config
qemu: Add QEMU_CAPS_SDL_GL to qemu capabilities
qemu: Add gl option to SDL graphics command line
docs/formatdomain.html.in | 6 ++
docs/schemas/domaincommon.rng | 8 +++
src/conf/domain_conf.c | 44 +++++++++++++-
src/conf/domain_conf.h | 1 +
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 69 +++++++++++++++-------
.../qemucapabilitiesdata/caps_2.4.0.x86_64.replies | 9 +++
tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml | 3 +-
.../qemuxml2argvdata/video-virtio-gpu-sdl-gl.args | 28 +++++++++
tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml | 38 ++++++++++++
tests/qemuxml2argvtest.c | 5 ++
.../qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml | 45 ++++++++++++++
tests/qemuxml2xmltest.c | 1 +
14 files changed, 237 insertions(+), 23 deletions(-)
create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args
create mode 100644 tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.xml
create mode 100644 tests/qemuxml2xmloutdata/video-virtio-gpu-sdl-gl.xml
This is now pushed.
John