From: Elie Tournier <tournier.elie@gmail.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, kraxel@redhat.com,
Elie Tournier <tournier.elie@gmail.com>
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 [thread overview]
Message-ID: <20180117145029.28736-1-tournier.elie@gmail.com> (raw)
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
next reply other threads:[~2018-01-17 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 14:50 Elie Tournier [this message]
2018-01-17 14:50 ` [Qemu-devel] [RFC 1/2] sdl2: Add gles options Elie Tournier
2018-01-17 14:50 ` [Qemu-devel] [RFC 2/2] sdl2: gles option will create a gles context Elie Tournier
2018-01-17 15:04 ` [Qemu-devel] [RFC 0/2] Use SDL to create an OpenGL ES context for virglrenderer no-reply
2018-01-29 16:11 ` Elie Tournier
2018-01-29 18:08 ` Gerd Hoffmann
2018-01-30 14:43 ` Elie Tournier
2018-01-30 15:22 ` Gerd Hoffmann
2018-01-30 17:08 ` Elie Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180117145029.28736-1-tournier.elie@gmail.com \
--to=tournier.elie@gmail.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).