mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 20:08:06 +02:00
Only files under src/amd/vulkan/** are concerned. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28599>
25 lines
610 B
C
25 lines
610 B
C
/*
|
|
* Copyright © 2016 Red Hat.
|
|
* Copyright © 2016 Bas Nieuwenhuizen
|
|
*
|
|
* based in part on anv driver which is:
|
|
* Copyright © 2015 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef RADV_WSI_H
|
|
#define RADV_WSI_H
|
|
|
|
#include "radv_physical_device.h"
|
|
|
|
#if defined(VK_USE_PLATFORM_WAYLAND_KHR) || defined(VK_USE_PLATFORM_XCB_KHR) || defined(VK_USE_PLATFORM_XLIB_KHR) || \
|
|
defined(VK_USE_PLATFORM_DISPLAY_KHR)
|
|
#define RADV_USE_WSI_PLATFORM
|
|
#endif
|
|
|
|
VkResult radv_init_wsi(struct radv_physical_device *pdev);
|
|
|
|
void radv_finish_wsi(struct radv_physical_device *pdev);
|
|
|
|
#endif /* RADV_WSI_H */
|