#ifndef LIBANGLE_RENDERER_VULKAN_ANDROID_VK_ANDROID_UTILS_H_
#define LIBANGLE_RENDERER_VULKAN_ANDROID_VK_ANDROID_UTILS_H_
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "common/vulkan/vk_headers.h"
#include "libANGLE/Error.h"
class Buffer;
class DeviceMemory;
namespace rx
{
class Context;
namespace vk
{
class Renderer;
angle::Result InitAndroidExternalMemory(Context *context,
EGLClientBuffer clientBuffer,
VkMemoryPropertyFlags memoryProperties,
Buffer *buffer,
VkMemoryPropertyFlags *memoryPropertyFlagsOut,
uint32_t *memoryTypeIndexOut,
DeviceMemory *deviceMemoryOut,
VkDeviceSize *sizeOut);
void ReleaseAndroidExternalMemory(Renderer *renderer, EGLClientBuffer clientBuffer);
}
}
#endif