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

/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#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 {

// finds the index of ext in infos or a negative result if ext is not found.
static int find_info(const TArray<VulkanExtensions::Info>& infos, const char ext[]) {}

namespace { // This cannot be static because it is used as a template parameter.
inline bool extension_compare(const VulkanExtensions::Info& a, const VulkanExtensions::Info& b) {}
}  // namespace

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 {}

} // namespace skgpu