spice/gl: render DisplaySurface via opengl
commit4423184376dc85849b2d7b4660e7feeb2b38bf6f
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Sep 2016 07:50:28 +0000 (23 09:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Sep 2016 10:49:36 +0000 (28 12:49 +0200)
tree7aaed8ece9a74d0db461b2dd657dbf5a9e39bbcb
parentf607867cefdbf1bcb2bd4449ba96cae4994f6224
spice/gl: render DisplaySurface via opengl

This switches over spice (in opengl mode) to render DisplaySurface
updates into a opengl texture, using the helper functions in
ui/console-gl.c.  With this patch applied spice (with gl=on) will
stop using qxl rendering ops, it will use dma-buf passing all the
time, i.e. for bios/bootloader (before virtio-gpu driver is loaded)
too.

This should improve performance even using spice (with gl=on) with
non-accelerated stdvga because we stop squeezing all display updates
through a unix/tcp socket and basically using a shared memory transport
instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1474617028-3979-3-git-send-email-kraxel@redhat.com
include/ui/spice-display.h
ui/spice-display.c