On Tue, Feb 21, 2017 at 1:38 PM Gerd Hoffmann <kraxel@redhat.com> wrote:
> Hi,
>
> Upcoming intel vgpu support will need some updates for the qemu opengl
> support, specifically we will need support for importing dma-bufs.
> The kernel support for this is still brewing though and thus the qemu
> patches are still experimental and a moving target.
>
> While working on it I did some cleanups and improvements on the opengl
> code in qemu though, and there is no reason to wait with merging them,
> so here are the first bits.
>
> cheers,
> Gerd
>
> Gerd Hoffmann (6):
> console: rename dpy_gl_scanout to dpy_gl_scanout_texture
> console: add dpy_gl_scanout_disable
> virtio-gpu: use dpy_gl_scanout_disable
> spice: add scanout_disable support
> sdl2: add scanout_disable support
> gtk-egl: add scanout_disable support
>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> hw/display/virtio-gpu-3d.c | 13 ++++++------
> include/ui/console.h | 21 ++++++++++++-------
> include/ui/gtk.h | 25 +++++++++++++---------
> include/ui/sdl2.h | 13 +++++++-----
> ui/console.c | 30 +++++++++++++++++++-------
> ui/gtk-egl.c | 25 +++++++++++++---------
> ui/gtk-gl-area.c | 12 ++++++-----
> ui/gtk.c | 5 +++--
> ui/sdl2-gl.c | 28 ++++++++++++++++---------
> ui/sdl2.c | 3 ++-
> ui/spice-display.c | 52
> ++++++++++++++++++++++++++--------------------
> 11 files changed, 138 insertions(+), 89 deletions(-)
>
> --
> 1.8.3.1
>
>
> --
Marc-André Lureau