qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/11] add virgl rendering support
@ 2015-09-24  9:04 Gerd Hoffmann
  2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 01/11] shaders: initialize vertexes once Gerd Hoffmann
                   ` (11 more replies)
  0 siblings, 12 replies; 24+ messages in thread
From: Gerd Hoffmann @ 2015-09-24  9:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: David Airlie, Marc-André Lureau, Gerd Hoffmann, Max Reitz

  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.

v2 fixes a bunch of issues found in patch review, which
hopefully also fixes the issues seen in testing.  This works
for me with both gtk3/sdl2, gl on/off, rhel7 host, fedora22
guest, intel gpu hardware.

please test & review,
  Gerd

Gerd Hoffmann (11):
  shaders: initialize vertexes once
  sdl2: stop flickering
  ui/console: add opengl context and scanout support interfaces.
  virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov
  virtio-gpu: change licence from GPLv2 to GPLv2+
  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-pci.c                 |   4 +-
 hw/display/virtio-gpu.c                     | 142 ++++++-
 include/hw/virtio/virtio-gpu.h              |  22 +-
 include/standard-headers/linux/virtio_gpu.h | 112 +++++-
 include/ui/console.h                        |  37 ++
 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                                | 131 +++++-
 ui/gtk-gl-area.c                            | 223 +++++++++++
 ui/gtk.c                                    | 149 +++++--
 ui/sdl2-2d.c                                |  13 +
 ui/sdl2-gl.c                                | 135 +++++++
 ui/sdl2.c                                   |   7 +
 ui/shader.c                                 |  31 +-
 24 files changed, 1786 insertions(+), 65 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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-09-29 13:13 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  9:04 [Qemu-devel] [PATCH v2 00/11] add virgl rendering support Gerd Hoffmann
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 01/11] shaders: initialize vertexes once Gerd Hoffmann
2015-09-28 15:32   ` Max Reitz
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 02/11] sdl2: stop flickering Gerd Hoffmann
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 03/11] ui/console: add opengl context and scanout support interfaces Gerd Hoffmann
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 04/11] virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov Gerd Hoffmann
2015-09-24 10:16   ` Michael S. Tsirkin
2015-09-25 13:14     ` Gerd Hoffmann
2015-09-29 13:13       ` Michael S. Tsirkin
2015-09-28 15:46   ` Max Reitz
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 05/11] virtio-gpu: change licence from GPLv2 to GPLv2+ Gerd Hoffmann
2015-09-28 15:57   ` Max Reitz
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 06/11] virtio-gpu: update headers for virgl/3d Gerd Hoffmann
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 07/11] virtio-gpu: add 3d mode and virgl rendering support Gerd Hoffmann
2015-09-28 16:00   ` Max Reitz
2015-09-24  9:04 ` [Qemu-devel] [PATCH v2 08/11] sdl2/opengl: add opengl context and scanout support Gerd Hoffmann
2015-09-28 16:03   ` Max Reitz
2015-09-24  9:05 ` [Qemu-devel] [PATCH v2 09/11] opengl: add egl-context.[ch] helpers Gerd Hoffmann
2015-09-24  9:05 ` [Qemu-devel] [PATCH v2 10/11] gtk/opengl: add opengl context and scanout support (egl) Gerd Hoffmann
2015-09-24  9:05 ` [Qemu-devel] [PATCH v2 11/11] gtk/opengl: add opengl context and scanout support (GtkGLArea) Gerd Hoffmann
2015-09-24 17:09 ` [Qemu-devel] [PATCH v2 00/11] add virgl rendering support Marc-André Lureau
2015-09-25 13:30   ` Gerd Hoffmann
2015-09-28 16:07   ` Max Reitz
2015-09-29 12:46     ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).