about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorKreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>2024-07-04 19:23:45 -0300
committerGitHub <noreply@github.com>2024-07-05 00:23:45 +0200
commit688665e73051c64bd2507be9de558ea28933af92 (patch)
tree34c03ce245e02c6441670217a5d1e896c172b0b6 /src/wrapped
parenta6762552318897d9114b0a33668b1a84a521c409 (diff)
downloadbox64-688665e73051c64bd2507be9de558ea28933af92.tar.gz
box64-688665e73051c64bd2507be9de558ea28933af92.zip
[VULKAN] Add Wrapped VK_KHR_android_surface (#1643)
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrappedvulkantypes.h1
-rw-r--r--src/wrapped/wrappedvulkan.c1
-rw-r--r--src/wrapped/wrappedvulkan_private.h3
4 files changed, 6 insertions, 0 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index ee5df648..f20d21dd 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -5619,6 +5619,7 @@ wrappedvulkan:
   - vkAllocateMemory
   - vkCreateAccelerationStructureKHR
   - vkCreateAccelerationStructureNV
+  - vkCreateAndroidSurfaceKHR
   - vkCreateBuffer
   - vkCreateBufferView
   - vkCreateCommandPool
diff --git a/src/wrapped/generated/wrappedvulkantypes.h b/src/wrapped/generated/wrappedvulkantypes.h
index c6807002..fd784391 100644
--- a/src/wrapped/generated/wrappedvulkantypes.h
+++ b/src/wrapped/generated/wrappedvulkantypes.h
@@ -84,6 +84,7 @@ typedef void (*vFpuuuupupup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo
 	GO(vkAllocateMemory, iFpppp_t) \
 	GO(vkCreateAccelerationStructureKHR, iFpppp_t) \
 	GO(vkCreateAccelerationStructureNV, iFpppp_t) \
+	GO(vkCreateAndroidSurfaceKHR, iFpppp_t) \
 	GO(vkCreateBuffer, iFpppp_t) \
 	GO(vkCreateBufferView, iFpppp_t) \
 	GO(vkCreateCommandPool, iFpppp_t) \
diff --git a/src/wrapped/wrappedvulkan.c b/src/wrapped/wrappedvulkan.c
index 68b4e66e..82f137f2 100644
--- a/src/wrapped/wrappedvulkan.c
+++ b/src/wrapped/wrappedvulkan.c
@@ -597,6 +597,7 @@ EXPORT int my_vkCreateXcbSurfaceKHR(x64emu_t* emu, void* instance, void* info, m
     return ret;
 }
 CREATE(vkCreateXlibSurfaceKHR)
+CREATE(vkCreateAndroidSurfaceKHR)
 CREATE(vkCreateRenderPass2)
 CREATE(vkCreateRenderPass2KHR)
 
diff --git a/src/wrapped/wrappedvulkan_private.h b/src/wrapped/wrappedvulkan_private.h
index b5921b4a..e278f007 100644
--- a/src/wrapped/wrappedvulkan_private.h
+++ b/src/wrapped/wrappedvulkan_private.h
@@ -311,6 +311,9 @@ GO(vkGetPhysicalDeviceXcbPresentationSupportKHR, uFpubp)
 GOM(vkCreateXlibSurfaceKHR, iFEpppp)
 GO(vkGetPhysicalDeviceXlibPresentationSupportKHR, uFpupp)
 
+// VK_KHR_android_surface
+GOM(vkCreateAndroidSurfaceKHR, iFEpppp)
+
 // VK_KHR_swapchain
 GO(vkAcquireNextImageKHR, iFpUUUUp)
 GO(vkAcquireNextImage2KHR, iFppp)