[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 0/2] Use SDL to create an OpenGL ES context for virglr
From: |
Elie Tournier |
Subject: |
[Qemu-devel] [RFC 0/2] Use SDL to create an OpenGL ES context for virglrenderer. |
Date: |
Wed, 17 Jan 2018 14:50:27 +0000 |
Hello everyone,
At Collabora, we are working on adding an OpenGL ES backend on virglrenderer
[1].
I submit these patches as an RFC because our work didn't land in virglrenderer
yet.
Currently, we support OpenGL ES 2.0 on the guest side and OpenGL ES 3.0 on the
host side.
Our plan is to increase the guest support to OpenGL ES 3.0.
Thanks to this work, we are able to run QEMU on system that only support OpenGL
ES.
In order to use this feature, we need to create a gles context.
This series add an option (`-display sdl,gles=on`) in the SDL display to create
that context.
The source code is available on our gitlab instance.
For virglrenderer [2] and qemu [3].
Feel free to review/comment the series.
Have a nice day,
Elie
[1] https://cgit.freedesktop.org/virglrenderer
[2] https://gitlab.collabora.com/jakob/virglrenderer-gles/tree/hacks
[3] https://gitlab.collabora.com/elie/qemu/tree/gles-option
Elie Tournier (2):
sdl2: Add gles options
sdl2: gles option will create a gles context
include/sysemu/sysemu.h | 1 +
include/ui/sdl2.h | 1 +
qemu-options.hx | 5 ++++-
ui/sdl2-gl.c | 8 ++++++--
ui/sdl2.c | 8 ++++++++
vl.c | 12 +++++++++++-
6 files changed, 31 insertions(+), 4 deletions(-)
--
2.15.1
- [Qemu-devel] [RFC 0/2] Use SDL to create an OpenGL ES context for virglrenderer.,
Elie Tournier <=