radv: move RADV_USE_WSI_PLATFORM define to radv_wsi.h
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28568>
This commit is contained in:
committed by
Marge Bot
parent
28eefbadeb
commit
367cf70a29
@@ -40,6 +40,7 @@
|
||||
#include "radv_radeon_winsys.h"
|
||||
#include "radv_rmv.h"
|
||||
#include "radv_video.h"
|
||||
#include "radv_wsi.h"
|
||||
#include "sid.h"
|
||||
#include "vk_debug_utils.h"
|
||||
#include "vk_format.h"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "radv_instance.h"
|
||||
#include "radv_debug.h"
|
||||
#include "radv_private.h"
|
||||
#include "radv_wsi.h"
|
||||
|
||||
#include "util/driconf.h"
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "radv_android.h"
|
||||
#include "radv_debug.h"
|
||||
#include "radv_instance.h"
|
||||
#include "radv_physical_device.h"
|
||||
#include "radv_pipeline_rt.h"
|
||||
#include "radv_private.h"
|
||||
#include "radv_video.h"
|
||||
|
||||
@@ -102,11 +102,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#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
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user