qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH v3 00/11] add virgl rendering support
Date: Fri,  2 Oct 2015 14:31:45 +0200	[thread overview]
Message-ID: <1443789116-27876-1-git-send-email-kraxel@redhat.com> (raw)

  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.

v3 fixes some more review isses.  Dropped SDL2 patch for now
due to not-yet tracked down display issues (still available
in git when you want test).

Please make sure to use the latest kernel bits when testing,
I've added a page flip support patch recently which should
get wayland going in guests.

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.
  virtio-gpu: add cursor update tracepoint
  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                     | 151 ++++++-
 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/shader.h                         |   4 +-
 trace-events                                |   9 +
 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/shader.c                                 |  31 +-
 21 files changed, 1632 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

             reply	other threads:[~2015-10-02 12:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 12:31 Gerd Hoffmann [this message]
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 01/11] shaders: initialize vertexes once Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 02/11] sdl2: stop flickering Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 03/11] ui/console: add opengl context and scanout support interfaces Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 04/11] virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 05/11] virtio-gpu: change licence from GPLv2 to GPLv2+ Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 06/11] virtio-gpu: update headers for virgl/3d Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 07/11] virtio-gpu: add 3d mode and virgl rendering support Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 08/11] virtio-gpu: add cursor update tracepoint Gerd Hoffmann
2015-10-02 14:36   ` Marc-André Lureau
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 09/11] opengl: add egl-context.[ch] helpers Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 10/11] gtk/opengl: add opengl context and scanout support (egl) Gerd Hoffmann
2015-10-02 12:31 ` [Qemu-devel] [PATCH v3 11/11] gtk/opengl: add opengl context and scanout support (GtkGLArea) Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1443789116-27876-1-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).