blob: 66dc1e64a5407084a9315fb4e08671b23f74101b [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "impeller/renderer/backend/vulkan/swapchain/swapchain_vk.h"
#include "impeller/renderer/backend/vulkan/swapchain/khr/khr_swapchain_vk.h"
namespace impeller {
std::shared_ptr<SwapchainVK> SwapchainVK::Create(
const std::shared_ptr<Context>& context,
vk::UniqueSurfaceKHR surface,
const ISize& size,
bool enable_msaa) {
return std::shared_ptr<KHRSwapchainVK>(
new KHRSwapchainVK(context, std::move(surface), size, enable_msaa));
}
SwapchainVK::SwapchainVK() = default;
SwapchainVK::~SwapchainVK() = default;
} // namespace impeller