]> git.proxmox.com Git - mirror_qemu.git/commit
Add gles support to egl-helpers, wire up in egl-headless and gtk.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Jun 2018 11:21:41 +0000 (13:21 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 26 Jun 2018 11:48:49 +0000 (13:48 +0200)
commit54d208ffdae20fd2bee745a037607a762d3a82a9
tree2cc5d2d839d530b1db608194eeb97aea4ffe3e55
parent595123df1d54ed8fbab9e1a73d5a58c5bb71058f
Add gles support to egl-helpers, wire up in egl-headless and gtk.

Add support for OpenGL ES to egl-helpers.  Wire up the new option for
egl-headless and gtk UIs.  egl-headless actually works fine.  gtk hits a
not-yet implemented code path in libEGL when trying to use gles mode:

  libEGL warning: FIXME: egl/x11 doesn't support front buffer rendering.

(This is mesa 17.2.3).

Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Message-id: 20180618112141.23398-1-kraxel@redhat.com
include/ui/egl-helpers.h
include/ui/gtk.h
ui/egl-context.c
ui/egl-headless.c
ui/egl-helpers.c
ui/gtk-egl.c
ui/gtk.c
ui/spice-core.c