anv: remove unused function
Fixes: 49908c602f
("anv/android: Rework our handling of AHardwareBuffer imports")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13199>
This commit is contained in:
parent
f2397badc4
commit
76b1d04e72
|
@ -45,12 +45,6 @@ VkResult anv_image_bind_from_gralloc(struct anv_device *device,
|
|||
struct anv_image *image,
|
||||
const VkNativeBufferANDROID *gralloc_info);
|
||||
|
||||
VkResult anv_image_from_external(VkDevice device_h,
|
||||
const VkImageCreateInfo *base_info,
|
||||
const VkExternalMemoryImageCreateInfo *create_info,
|
||||
const VkAllocationCallbacks *alloc,
|
||||
VkImage *out_image_h);
|
||||
|
||||
uint64_t anv_ahw_usage_from_vk_usage(const VkImageCreateFlags vk_create,
|
||||
const VkImageUsageFlags vk_usage);
|
||||
|
||||
|
|
|
@ -62,13 +62,3 @@ anv_create_ahw_memory(VkDevice device_h,
|
|||
{
|
||||
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)
|
||||
{
|
||||
return VK_ERROR_EXTENSION_NOT_PRESENT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue