vulkan/android: clean up helpers no longer used

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35561>
This commit is contained in:
Yiwei Zhang 2025-06-16 12:18:06 -07:00 committed by Marge Bot
parent 08f18030bd
commit 04d0392007
2 changed files with 0 additions and 24 deletions

View file

@ -65,17 +65,6 @@ vk_android_get_ugralloc(void)
return _gralloc;
}
struct u_gralloc *
vk_android_init_ugralloc(void)
{
return vk_android_get_ugralloc();
}
void
vk_android_destroy_ugralloc(void)
{
}
/* If any bits in test_mask are set, then unset them and return true. */
static inline bool
unmask32(uint32_t *inout_mask, uint32_t test_mask)

View file

@ -40,8 +40,6 @@ struct AHardwareBuffer;
#if DETECT_OS_ANDROID
struct u_gralloc *vk_android_get_ugralloc(void);
struct u_gralloc *vk_android_init_ugralloc(void);
void vk_android_destroy_ugralloc(void);
VkResult vk_android_import_anb(struct vk_device *device,
const VkImageCreateInfo *pCreateInfo,
const VkAllocationCallbacks *alloc,
@ -61,17 +59,6 @@ vk_android_get_ugralloc(void)
return NULL;
}
static inline struct u_gralloc *
vk_android_init_ugralloc(void)
{
return NULL;
}
static inline void
vk_android_destroy_ugralloc(void)
{
}
static inline VkResult
vk_android_import_anb(struct vk_device *device,
const VkImageCreateInfo *pCreateInfo,