From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6zJo-00047m-RT for qemu-devel@nongnu.org; Fri, 13 Apr 2018 10:04:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6zJl-000157-NC for qemu-devel@nongnu.org; Fri, 13 Apr 2018 10:04:48 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:35351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6zJl-00014c-GB for qemu-devel@nongnu.org; Fri, 13 Apr 2018 10:04:45 -0400 Received: by mail-wr0-x242.google.com with SMTP id o3so8446314wri.2 for ; Fri, 13 Apr 2018 07:04:45 -0700 (PDT) From: Elie Tournier Date: Fri, 13 Apr 2018 14:58:39 +0100 Message-Id: <20180413135842.21325-1-tournier.elie@gmail.com> Subject: [Qemu-devel] [PATCH v3 0/3] Use SDL to create an OpenGL ES context for virglrenderer. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, kraxel@redhat.com, Elie Tournier 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