From: Elie Tournier <tournier.elie@gmail.com>
To: qemu-devel@nongnu.org
Cc: eblake@redhat.com, kraxel@redhat.com,
Elie Tournier <tournier.elie@gmail.com>
Subject: [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.
Date: Fri, 13 Apr 2018 14:58:39 +0100 [thread overview]
Message-ID: <20180413135842.21325-1-tournier.elie@gmail.com> (raw)
Hi,
v2: Rebase on top of master
v3: Fix the json format (Eric Blake)
Move DisplayOptions from ui/sdl2.c to include/ui/sdl2.h (Gerd Hoffmann)
Fix a comparison issue (Gerd Hoffmann)
Currently, virglrenderer [1] support OpenGL ES 2.0 on the guest side
and OpenGL ES 3.0 on the host side.
Thanks to this work, we are able to run QEMU on system that only support OpenGL ES.
The support of OpenGL ES 3.0 on the guest is limited.
We are working on it, so stay tune!
For the most curious of you, the development branch is available on
our gitlab instance [2].
In order to use this feature in QEMU, we need to create an OpenGL ES context.
This is possible thanks to the following option `-display sdl,gl=es`.
Have a nice day,
Elie
[1] https://cgit.freedesktop.org/virglrenderer
[2] https://gitlab.collabora.com/virgl-es/virglrenderer-gles/tree/hacks
Elie Tournier (3):
qapi: Parameter gl of DisplayType now accept an enum
sdl: Move DisplayOptions global to sdl2_console
sdl: Allow OpenGL ES context creation
include/ui/sdl2.h | 1 +
qapi/ui.json | 20 +++++++++++++++++++-
qemu-options.hx | 2 +-
ui/sdl2-gl.c | 19 +++++++++++++++++--
ui/sdl2.c | 10 +++++-----
vl.c | 14 +++++++++-----
6 files changed, 52 insertions(+), 14 deletions(-)
--
2.17.0
next reply other threads:[~2018-04-13 14:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-13 13:58 Elie Tournier [this message]
2018-04-13 13:58 ` [Qemu-devel] [PATCH v3 1/3] qapi: Parameter gl of DisplayType now accept an enum Elie Tournier
2018-04-13 13:58 ` [Qemu-devel] [PATCH v3 2/3] sdl: Move DisplayOptions global to sdl2_console Elie Tournier
2018-04-13 13:58 ` [Qemu-devel] [PATCH v3 3/3] sdl: Allow OpenGL ES context creation Elie Tournier
2018-04-20 9:32 ` [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer Elie Tournier
2018-04-20 10:44 ` Gerd Hoffmann
2018-04-20 10:46 ` 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=20180413135842.21325-1-tournier.elie@gmail.com \
--to=tournier.elie@gmail.com \
--cc=eblake@redhat.com \
--cc=kraxel@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).