qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Use SDL to create an OpenGL ES context for virglrenderer.
@ 2018-04-10 12:02 Elie Tournier
  2018-04-10 12:02 ` [Qemu-devel] [PATCH v2 1/2] qapi: Parameter gl of DisplayType now accept an enum Elie Tournier
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Elie Tournier @ 2018-04-10 12:02 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, kraxel, Elie Tournier

Hello everyone,

I submitted the v1 of this series before kraxel's display system rework.

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 (2):
  qapi: Parameter gl of DisplayType now accept an enum
  sdl: Allow OpenGL ES context creation

 include/ui/sdl2.h |  1 +
 qapi/ui.json      | 21 ++++++++++++++++++++-
 qemu-options.hx   |  2 +-
 ui/sdl2-gl.c      | 17 +++++++++++++++--
 ui/sdl2.c         |  1 +
 vl.c              | 14 +++++++++-----
 6 files changed, 47 insertions(+), 9 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-13 13:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 12:02 [Qemu-devel] [PATCH v2 0/2] Use SDL to create an OpenGL ES context for virglrenderer Elie Tournier
2018-04-10 12:02 ` [Qemu-devel] [PATCH v2 1/2] qapi: Parameter gl of DisplayType now accept an enum Elie Tournier
2018-04-10 12:38   ` Gerd Hoffmann
2018-04-10 13:13   ` [Qemu-devel] [PATCH v2 1/2 for-2.12?] " Eric Blake
2018-04-10 13:33     ` Gerd Hoffmann
2018-04-12 14:11       ` Elie Tournier
2018-04-12 15:17         ` Eric Blake
2018-04-13  6:15         ` Gerd Hoffmann
2018-04-13 10:16           ` Elie Tournier
2018-04-13 13:08             ` Gerd Hoffmann
2018-04-10 13:49     ` Elie Tournier
2018-04-10 12:02 ` [Qemu-devel] [PATCH v2 2/2] sdl: Allow OpenGL ES context creation Elie Tournier
2018-04-10 12:46   ` Gerd Hoffmann
2018-04-10 12:13 ` [Qemu-devel] [PATCH v2 0/2] Use SDL to create an OpenGL ES context for virglrenderer no-reply

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).