#include "include/gpu/vk/VulkanExtensions.h"
#include "include/private/base/SkAssert.h"
#include "src/base/SkTSearch.h"
#include "src/base/SkTSort.h"
#include <utility>
usingnamespaceskia_private;
namespace skgpu {
static int find_info(const TArray<VulkanExtensions::Info>& infos, const char ext[]) { … }
namespace {
inline bool extension_compare(const VulkanExtensions::Info& a, const VulkanExtensions::Info& b) { … }
}
void VulkanExtensions::init(VulkanGetProc getProc,
VkInstance instance,
VkPhysicalDevice physDev,
uint32_t instanceExtensionCount,
const char* const* instanceExtensions,
uint32_t deviceExtensionCount,
const char* const* deviceExtensions) { … }
#define GET_PROC(F, inst) …
void VulkanExtensions::getSpecVersions(const VulkanGetProc& getProc,
VkInstance instance,
VkPhysicalDevice physDevice) { … }
bool VulkanExtensions::hasExtension(const char ext[], uint32_t minVersion) const { … }
}