ui/pixman: add qemu_drm_format_to_pixman()
commita5127bd73f77b90b50d63014be10cef467c1c3f9
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Mar 2018 17:17:28 +0000 (13 11:17 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 13 Mar 2018 17:17:28 +0000 (13 11:17 -0600)
treedb933d2d51df10ab3e10230cfda9a7ca03538c47
parent8e8ee8509a0d2d5a65d7533e6e9179b6f3b0a0d4
ui/pixman: add qemu_drm_format_to_pixman()

Map drm fourcc codes to pixman formats.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
include/ui/qemu-pixman.h
ui/qemu-pixman.c