ui/pixman: Add qemu_pixman_to_drm_format()
commit8069b73bee8915acdeb69b4456b216f637032e7e
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Wed, 26 May 2021 23:14:25 +0000 (26 16:14 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 27 May 2021 10:07:37 +0000 (27 12:07 +0200)
tree2203060a125c8db68f7eda6b1c3b6f0aaf444657
parente0933d91b1cdde2828955b02042e100dffd27399
ui/pixman: Add qemu_pixman_to_drm_format()

This new function to get the drm_format associated with a pixman
format will be useful while creating a dmabuf.

Based-on-patch-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-11-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/qemu-pixman.h
ui/qemu-pixman.c