aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-04-30 13:35:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-05-10 13:55:28 +0200
commit063cd34a03e2a12bf338137410cb972250fe5027 (patch)
treea5eeb7b296cf3a7308f0d703cc49b97b1f4eebbc /include
parent7d2ad4e1e8b63babac11de42bf2a000e40ab4e89 (diff)
downloadqemu-063cd34a03e2a12bf338137410cb972250fe5027.zip
qemu-063cd34a03e2a12bf338137410cb972250fe5027.tar.gz
qemu-063cd34a03e2a12bf338137410cb972250fe5027.tar.bz2
virtio-gpu: add virtio-gpu-gl-device
Just a skeleton for starters, following patches will add more code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210430113547.1816178-1-kraxel@redhat.com Message-Id: <20210430113547.1816178-3-kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/virtio/virtio-gpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-gpu.h b/include/hw/virtio/virtio-gpu.h
index 0d15af4..5b2d011 100644
--- a/include/hw/virtio/virtio-gpu.h
+++ b/include/hw/virtio/virtio-gpu.h
@@ -31,6 +31,9 @@ OBJECT_DECLARE_TYPE(VirtIOGPUBase, VirtIOGPUBaseClass,
#define TYPE_VIRTIO_GPU "virtio-gpu-device"
OBJECT_DECLARE_SIMPLE_TYPE(VirtIOGPU, VIRTIO_GPU)
+#define TYPE_VIRTIO_GPU_GL "virtio-gpu-gl-device"
+OBJECT_DECLARE_SIMPLE_TYPE(VirtIOGPUGL, VIRTIO_GPU_GL)
+
#define TYPE_VHOST_USER_GPU "vhost-user-gpu"
OBJECT_DECLARE_SIMPLE_TYPE(VhostUserGPU, VHOST_USER_GPU)
@@ -163,6 +166,10 @@ struct VirtIOGPU {
} stats;
};
+struct VirtIOGPUGL {
+ struct VirtIOGPU parent_obj;
+};
+
struct VhostUserGPU {
VirtIOGPUBase parent_obj;