From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZdR2-00044O-Vi for qemu-devel@nongnu.org; Wed, 09 Sep 2015 07:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZdQy-00051N-23 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 07:21:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZdQx-000515-T3 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 07:20:59 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 50C638EA2B for ; Wed, 9 Sep 2015 11:20:59 +0000 (UTC) From: Gerd Hoffmann Date: Wed, 9 Sep 2015 13:20:45 +0200 Message-Id: <1441797654-15350-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/9] add virgl rendering support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, This patch series adds infrastructure for opengl rendering (context management, define scanout textures), adds support for this to sdl2 and gtk user interfaces and adds virgl/3d mode to virtio-gpu by hooking up the virglrenderer library. please review, Gerd Gerd Hoffmann (9): shaders: initialize vertexes once sdl2: quick & dirty flicker workaround ui/console: add opengl context and scanout support interfaces. virtio-gpu: update headers for virgl/3d virtio-gpu: add 3d mode and virgl rendering support. sdl2/opengl: add opengl context and scanout support opengl: add egl-context.[ch] helpers gtk/opengl: add opengl context and scanout support (egl) gtk/opengl: add opengl context and scanout support (GtkGLArea) configure | 40 ++ hw/display/Makefile.objs | 6 +- hw/display/virtio-gpu-3d.c | 598 ++++++++++++++++++++++++++++ hw/display/virtio-gpu.c | 130 +++++- include/hw/virtio/virtio-gpu.h | 22 +- include/standard-headers/linux/virtio_gpu.h | 112 +++++- include/ui/console.h | 36 ++ include/ui/egl-context.h | 14 + include/ui/gtk.h | 39 ++ include/ui/sdl2.h | 22 +- include/ui/shader.h | 4 +- trace-events | 8 + ui/Makefile.objs | 6 + ui/console-gl.c | 7 +- ui/console.c | 67 +++- ui/egl-context.c | 34 ++ ui/gtk-egl.c | 129 +++++- ui/gtk-gl-area.c | 219 ++++++++++ ui/gtk.c | 118 ++++-- ui/sdl2-2d.c | 13 + ui/sdl2-gl.c | 133 +++++++ ui/sdl2.c | 7 + ui/shader.c | 32 +- 23 files changed, 1741 insertions(+), 55 deletions(-) create mode 100644 hw/display/virtio-gpu-3d.c create mode 100644 include/ui/egl-context.h create mode 100644 ui/egl-context.c create mode 100644 ui/gtk-gl-area.c -- 1.8.3.1