mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-26 19:42:33 -06:00
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
This commit is contained in:
parent
c5bbcaa4b7
commit
4133fa711f
3 changed files with 59 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue