[Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.

Elie Tournier posted 3 patches 23 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180413135842.21325-1-tournier.elie@gmail.com
Test checkpatch failed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test s390x passed
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(-)

[Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.

Posted by Elie Tournier 23 weeks ago
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


Re: [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.

Posted by Elie Tournier 22 weeks ago
On Fri, Apr 13, 2018 at 02:58:39PM +0100, Elie Tournier wrote:
> Hi,
> 
Hello,

Humble ping.
This series is unreviewed.

BR,
Elie

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

Re: [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.

Posted by Gerd Hoffmann 22 weeks ago
On Fri, Apr 20, 2018 at 10:32:53AM +0100, Elie Tournier wrote:
> On Fri, Apr 13, 2018 at 02:58:39PM +0100, Elie Tournier wrote:
> > Hi,
> > 
> Hello,
> 
> Humble ping.
> This series is unreviewed.

Looks sane.  Plan to include it in the next pull request (unless
something shows up in testing).  Waiting for 2.12 being released and
master branch opening up for new development.

cheers,
  Gerd


Re: [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer.

Posted by Elie Tournier 22 weeks ago
On Fri, Apr 20, 2018 at 12:44:44PM +0200, Gerd Hoffmann wrote:
> On Fri, Apr 20, 2018 at 10:32:53AM +0100, Elie Tournier wrote:
> > On Fri, Apr 13, 2018 at 02:58:39PM +0100, Elie Tournier wrote:
> > > Hi,
> > > 
> > Hello,
> > 
> > Humble ping.
> > This series is unreviewed.
> 
> Looks sane.  Plan to include it in the next pull request (unless
> something shows up in testing).  Waiting for 2.12 being released and
> master branch opening up for new development.

Nice.
Thank you very much.
> 
> cheers,
>   Gerd
>