mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-26 00:06:02 +00:00
- registry moved from 1.3.247 to 1.4.341: current Zink and DXVK need post-1.3.247 extensions (maintenance5); the bridge only exposes what the driver reports - gamescope on the bridge: Mali's device stands in as the render node, the ICD reports its numbers (VKBRIDGE_DRM_RENDER), the session shim answers PRIME on it - linux-dmabuf works - host: gamescope (Arch, no GPU device) composites vkcube through the bridge, zero-copy; Zink 26.2 runs GL 4.6 on the bridge - VKBRIDGE_TRACE / HIDE_EXTS / MAX_API for diagnosis and imitating Mali on the host Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZqR8XUE8czvGzEpgSCVQR
104 lines
1.6 KiB
C
104 lines
1.6 KiB
C
#ifndef VULKAN_H_
|
|
#define VULKAN_H_ 1
|
|
|
|
/*
|
|
** Copyright 2015-2026 The Khronos Group Inc.
|
|
**
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "vk_platform.h"
|
|
#include "vulkan_core.h"
|
|
|
|
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
|
#include "vulkan_android.h"
|
|
#endif
|
|
|
|
#ifdef VK_USE_PLATFORM_FUCHSIA
|
|
#include <zircon/types.h>
|
|
#include "vulkan_fuchsia.h"
|
|
#endif
|
|
|
|
#ifdef VK_USE_PLATFORM_IOS_MVK
|
|
#include "vulkan_ios.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_MACOS_MVK
|
|
#include "vulkan_macos.h"
|
|
#endif
|
|
|
|
#ifdef VK_USE_PLATFORM_METAL_EXT
|
|
#include "vulkan_metal.h"
|
|
#endif
|
|
|
|
#ifdef VK_USE_PLATFORM_VI_NN
|
|
#include "vulkan_vi.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
|
#include "vulkan_wayland.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_WIN32_KHR
|
|
#include <windows.h>
|
|
#include "vulkan_win32.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_XCB_KHR
|
|
#include <xcb/xcb.h>
|
|
#include "vulkan_xcb.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_XLIB_KHR
|
|
#include <X11/Xlib.h>
|
|
#include "vulkan_xlib.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_DIRECTFB_EXT
|
|
#include <directfb.h>
|
|
#include "vulkan_directfb.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
|
#include <X11/Xlib.h>
|
|
#include <X11/extensions/Xrandr.h>
|
|
#include "vulkan_xlib_xrandr.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_GGP
|
|
#include <ggp_c/vulkan_types.h>
|
|
#include "vulkan_ggp.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_SCREEN_QNX
|
|
#include <screen/screen.h>
|
|
#include "vulkan_screen.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_USE_PLATFORM_SCI
|
|
#include <nvscisync.h>
|
|
#include <nvscibuf.h>
|
|
#include "vulkan_sci.h"
|
|
#endif
|
|
|
|
|
|
#ifdef VK_ENABLE_BETA_EXTENSIONS
|
|
#include "vulkan_beta.h"
|
|
#endif
|
|
|
|
#ifdef VK_USE_PLATFORM_OHOS
|
|
#include "vulkan_ohos.h"
|
|
#endif
|
|
|
|
#endif // VULKAN_H_
|