ui: add optional d3d texture pointer to scanout texture
commitbf41ab61908b340e5745c334586349bc8a3a0349
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 6 Jun 2023 11:56:56 +0000 (6 15:56 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 27 Jun 2023 15:08:56 +0000 (27 17:08 +0200)
tree1b2f2023e914e486123b81c4baad21a700b82a07
parent06c63a34e633601caea8fe88abfeff0911809da3
ui: add optional d3d texture pointer to scanout texture

The following patch will get the underlying D3D11 Texture2D from the
virgl renderer scanout. Pass it along to the texture scanout callbacks
as a priliminary step, to simplify review.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230606115658.677673-20-marcandre.lureau@redhat.com>
12 files changed:
hw/display/virtio-gpu-virgl.c
include/ui/console.h
include/ui/gtk.h
include/ui/sdl2.h
ui/console.c
ui/dbus-console.c
ui/dbus-listener.c
ui/egl-headless.c
ui/gtk-egl.c
ui/gtk-gl-area.c
ui/sdl2-gl.c
ui/spice-display.c