aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-29 09:21:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-06-07 11:52:35 +0200
commit152b7af6106c7d6fb7488eb297d735045c1e68c3 (patch)
tree5c7557fcf2de731d1861b22403cb5a1e18cda839 /include/ui
parentdc3c871ae0f06030cfd713e44fcf79a4705553d1 (diff)
console: add dmabuf modifier field.
dmabufs can have a format modifier (DRM_FORMAT_MOD_*) which is used for tiled layouts for example. Add a field to QemuDmaBuf so we can carry around that information. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20190529072144.26737-2-kraxel@redhat.com
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index fef900db76..f981696848 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -175,6 +175,7 @@ typedef struct QemuDmaBuf {
uint32_t height;
uint32_t stride;
uint32_t fourcc;
+ uint64_t modifier;
uint32_t texture;
bool y0_top;
} QemuDmaBuf;