vulkan/wsi: create wl_drm wrapper as needed
authorChia-I Wu <olvaffe@gmail.com>
Tue, 12 Feb 2019 01:23:56 +0000 (17:23 -0800)
committerKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 9 Apr 2019 00:42:30 +0000 (00:42 +0000)
commit2d214d940524ffb74ebbaac641ed0d798a4e39c7
treef741227cd8623d44b740d71db75447e4e6a81504
parentab74937b2c8880d3c084f792f37c6b8d953f9e4b
vulkan/wsi: create wl_drm wrapper as needed

When modifiers are specified, we have to use dmabuf rather than
wl_drm.  We don't need the wrapper in that case.

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