Skip to content

Commit

Permalink
[VULKAN] Add Wrapped VK_KHR_android_surface (#1643)
Browse files Browse the repository at this point in the history
  • Loading branch information
KreitinnSoftware authored Jul 4, 2024
1 parent a676255 commit 688665e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/wrapped/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5619,6 +5619,7 @@ wrappedvulkan:
- vkAllocateMemory
- vkCreateAccelerationStructureKHR
- vkCreateAccelerationStructureNV
- vkCreateAndroidSurfaceKHR
- vkCreateBuffer
- vkCreateBufferView
- vkCreateCommandPool
Expand Down
1 change: 1 addition & 0 deletions src/wrapped/generated/wrappedvulkantypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down
1 change: 1 addition & 0 deletions src/wrapped/wrappedvulkan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 3 additions & 0 deletions src/wrapped/wrappedvulkan_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 688665e

Please sign in to comment.