#include "loader.h" #include "vulkan/vulkan_android.h" VkResult CreateAndroidSurfaceKHR( VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) { return ((PFN_vkCreateAndroidSurfaceKHR)vkCreateAndroidSurfaceKHR)(instance, pCreateInfo, pAllocator, pSurface); } VkResult GetAndroidHardwareBufferPropertiesANDROID( VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties) { return ((PFN_vkGetAndroidHardwareBufferPropertiesANDROID)vkGetAndroidHardwareBufferPropertiesANDROID)(device, buffer, pProperties); } VkResult GetMemoryAndroidHardwareBufferANDROID( VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer) { return ((PFN_vkGetMemoryAndroidHardwareBufferANDROID)vkGetMemoryAndroidHardwareBufferANDROID)(device, pInfo, pBuffer); }