diff options
Diffstat (limited to 'src/intel/vulkan/anv_android_stubs.c')
-rw-r--r-- | src/intel/vulkan/anv_android_stubs.c | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/src/intel/vulkan/anv_android_stubs.c b/src/intel/vulkan/anv_android_stubs.c index f6b2d1c8dd1..f1b2ef6b6f8 100644 --- a/src/intel/vulkan/anv_android_stubs.c +++ b/src/intel/vulkan/anv_android_stubs.c @@ -24,11 +24,10 @@ #include "anv_android.h" VkResult -anv_image_from_gralloc(VkDevice device_h, - const VkImageCreateInfo *base_info, - const VkNativeBufferANDROID *gralloc_info, - const VkAllocationCallbacks *alloc, - VkImage *pImage) +anv_image_init_from_gralloc(struct anv_device *device, + struct anv_image *image, + const VkImageCreateInfo *base_info, + const VkNativeBufferANDROID *gralloc_info) { return VK_ERROR_EXTENSION_NOT_PRESENT; } @@ -40,17 +39,14 @@ VkResult anv_image_bind_from_gralloc(struct anv_device *device, return VK_ERROR_EXTENSION_NOT_PRESENT; } -uint64_t -anv_ahw_usage_from_vk_usage(const VkImageCreateFlags vk_create, - const VkImageUsageFlags vk_usage) +unsigned anv_ahb_format_for_vk_format(VkFormat vk_format) { return 0; } VkResult anv_import_ahw_memory(VkDevice device_h, - struct anv_device_memory *mem, - const VkImportAndroidHardwareBufferInfoANDROID *info) + struct anv_device_memory *mem) { return VK_ERROR_EXTENSION_NOT_PRESENT; } @@ -58,17 +54,7 @@ anv_import_ahw_memory(VkDevice device_h, VkResult anv_create_ahw_memory(VkDevice device_h, struct anv_device_memory *mem, - const VkMemoryAllocateInfo *pAllocateInfo) -{ - return VK_ERROR_EXTENSION_NOT_PRESENT; -} - -VkResult -anv_image_from_external(VkDevice device_h, - const VkImageCreateInfo *base_info, - const VkExternalMemoryImageCreateInfo *create_info, - const VkAllocationCallbacks *alloc, - VkImage *out_image_h) + const VkMemoryDedicatedAllocateInfo *dedicated_info) { return VK_ERROR_EXTENSION_NOT_PRESENT; } |