vulkan/wsi: refactor drm_handle_format
authorChia-I Wu <olvaffe@gmail.com>
Tue, 12 Feb 2019 05:25:49 +0000 (21:25 -0800)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 9 Apr 2019 00:42:30 +0000 (00:42 +0000)
commit22dcb080d9d966d5d81e65ab51f08f86977be8c0
treeed58b75b49fcf63b23feb08b9d4c8ea78d1952c0
parent2d214d940524ffb74ebbaac641ed0d798a4e39c7
vulkan/wsi: refactor drm_handle_format

Refactor the swtich statement in drm_handle_format out to
wsi_wl_display_add_wl_format.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/vulkan/wsi/wsi_common_wayland.c