#include "src/gpu/vk/VulkanInterface.h"
#include "include/gpu/vk/VulkanExtensions.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include <functional>
namespace skgpu {
#define ACQUIRE_PROC(name, instance, device) …
#define ACQUIRE_PROC_SUFFIX(name, suffix, instance, device) …
VulkanInterface::VulkanInterface(VulkanGetProc getProc,
VkInstance instance,
VkDevice device,
uint32_t instanceVersion,
uint32_t physicalDeviceVersion,
const VulkanExtensions* extensions) { … }
#ifdef SK_DEBUG
constexpr int kIsDebug = …;
#else
constexpr int kIsDebug = 0;
#endif
#define RETURN_FALSE_INTERFACE …
bool VulkanInterface::validate(uint32_t instanceVersion,
uint32_t physicalDeviceVersion,
const VulkanExtensions* extensions) const { … }
}