diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2017-10-10 15:54:48 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-10-17 10:25:42 +0200 |
| commit | 4133fa711f37f0db303bf5aac03ea31b5be6ac1d (patch) | |
| tree | 61059c0bc0d3a77083f0fd25dffd632f0d52b8c8 /include/qemu/typedefs.h | |
| parent | c5bbcaa4b7c0f8a322bebe9ec563560178a68b55 (diff) | |
| download | focaccia-qemu-4133fa711f37f0db303bf5aac03ea31b5be6ac1d.tar.gz focaccia-qemu-4133fa711f37f0db303bf5aac03ea31b5be6ac1d.zip | |
console: add support for dmabufs
This patch adds support for dma-bufs to the qemu console interfaces. It adds a new "struct QemuDmaBuf" to represent a dmabuf with accociated metatdata (size, format). It adds three functions (and DisplayChangeListenerOps operations) to set a dma-buf as display scanout, as cursor and to release a dmabuf. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20171010135453.6704-2-kraxel@redhat.com
Diffstat (limited to 'include/qemu/typedefs.h')
| -rw-r--r-- | include/qemu/typedefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 980d2b330e..3dbc69b1e9 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -83,6 +83,7 @@ typedef struct PropertyInfo PropertyInfo; typedef struct PS2State PS2State; typedef struct QEMUBH QEMUBH; typedef struct QemuConsole QemuConsole; +typedef struct QemuDmaBuf QemuDmaBuf; typedef struct QEMUFile QEMUFile; typedef struct QemuOpt QemuOpt; typedef struct QemuOpts QemuOpts; |