chromium/gpu/vulkan/init/vulkan_factory.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "gpu/vulkan/init/vulkan_factory.h"
#include "build/build_config.h"

#include <memory>
#include <ostream>

#if BUILDFLAG(IS_ANDROID)
#include "gpu/vulkan/android/vulkan_implementation_android.h"
#endif

#if BUILDFLAG(IS_WIN)
#include "gpu/vulkan/win32/vulkan_implementation_win32.h"
#endif

#if BUILDFLAG(IS_OZONE)
#include "ui/ozone/public/ozone_platform.h"
#include "ui/ozone/public/surface_factory_ozone.h"
#endif

#if BUILDFLAG(IS_APPLE)
#include "gpu/vulkan/mac/vulkan_implementation_mac.h"
#endif

namespace gpu {

std::unique_ptr<VulkanImplementation> CreateVulkanImplementation(
    bool use_swiftshader,
    bool allow_protected_memory) {}

}  // namespace gpu