From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAeDX-0004xV-DC for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:35:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAeDT-0003fa-3i for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:35:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAeDS-0003fH-S9 for qemu-devel@nongnu.org; Mon, 12 Jan 2015 07:35:31 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0CCZUaC022670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 12 Jan 2015 07:35:30 -0500 From: Gerd Hoffmann Date: Mon, 12 Jan 2015 13:35:22 +0100 Message-Id: <1421066126-25737-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] sdl2: add opengl rendering support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, Next round of the opengl rendering support patches. Changes from RfC: * new patch #2, adding helper functions to render display surfaces as opengl texture. * sdl2 opengl code just carries the sdl2-specific bits and calls the opengl console helpers added by patch #2. * Addressing most (but not yet all) review comments from Max. * opengl support is runtime-switchable via '-display sdl,gl={on,off}'. Defaults to off atm. please review, Gerd Gerd Hoffmann (4): configure: opengl overhaul console: add opengl rendering helper functions sdl2: add support for display rendering using opengl. sdl2: move SDL_* includes to sdl2.h configure | 39 ++++++------ default-configs/lm32-softmmu.mak | 2 +- hw/display/Makefile.objs | 2 +- hw/lm32/milkymist-hw.h | 4 +- include/sysemu/sysemu.h | 1 + include/ui/console.h | 24 ++++++++ include/ui/sdl2.h | 17 ++++++ ui/Makefile.objs | 9 +++ ui/console-gl.c | 127 +++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 11 ++++ ui/sdl2-2d.c | 13 ++-- ui/sdl2-gl.c | 107 +++++++++++++++++++++++++++++++++ ui/sdl2-input.c | 6 -- ui/sdl2.c | 73 ++++++++++++++++++---- vl.c | 12 ++++ 15 files changed, 396 insertions(+), 51 deletions(-) create mode 100644 ui/console-gl.c create mode 100644 ui/sdl2-gl.c -- 1.8.3.1