chromium/third_party/skia/src/gpu/vk/VulkanInterface.cpp

/*
 * Copyright 2015 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#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 {}

} // namespace skgpu