From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMkb-0007ZF-SA for qemu-devel@nongnu.org; Wed, 29 Apr 2015 03:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnMkW-0008BX-TG for qemu-devel@nongnu.org; Wed, 29 Apr 2015 03:49:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMkW-0008BB-K0 for qemu-devel@nongnu.org; Wed, 29 Apr 2015 03:49:40 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3T7ndcY025527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 29 Apr 2015 03:49:39 -0400 From: Gerd Hoffmann Date: Wed, 29 Apr 2015 09:49:24 +0200 Message-Id: <1430293770-1965-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] 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, This series adds some opengl bits and puts them into use for sdl2. No major changes since the last post (somewhen during early 2.3 freeze). I've coded up opengl support for other UIs on top of this and the code has seen some minor refactorings due to this. opengl shader handling moved to its own files (splitted from console-gl.c). Some functions got qemu_ prefixes. Minor tweaks here and there. please review, Gerd Gerd Hoffmann (5): opengl: add shader build infrastructure opengl: add shader helper functions. console-gl: add opengl rendering helper functions sdl2: move SDL_* includes to sdl2.h sdl2: add support for display rendering using opengl. Max Reitz (1): sdl2: Fix RGB555 Makefile | 17 +++++ configure | 2 +- include/ui/console.h | 37 ++++++++++ include/ui/sdl2.h | 17 +++++ include/ui/shader.h | 11 +++ scripts/shaderinclude.pl | 16 +++++ ui/Makefile.objs | 9 +++ ui/console-gl.c | 168 ++++++++++++++++++++++++++++++++++++++++++++ ui/sdl.c | 10 +++ ui/sdl2-2d.c | 28 +++++--- ui/sdl2-gl.c | 112 +++++++++++++++++++++++++++++ ui/sdl2-input.c | 6 -- ui/sdl2.c | 71 +++++++++++++++---- ui/shader.c | 114 ++++++++++++++++++++++++++++++ ui/shader/texture-blit.frag | 10 +++ ui/shader/texture-blit.vert | 10 +++ vl.c | 23 ++++++ 17 files changed, 633 insertions(+), 28 deletions(-) create mode 100644 include/ui/shader.h create mode 100644 scripts/shaderinclude.pl create mode 100644 ui/console-gl.c create mode 100644 ui/sdl2-gl.c create mode 100644 ui/shader.c create mode 100644 ui/shader/texture-blit.frag create mode 100644 ui/shader/texture-blit.vert -- 1.8.3.1