1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4// FLUTTER_NOLINT
5
6#include "vulkan_swapchain.h"
7
8namespace vulkan {
9
10VulkanSwapchain::VulkanSwapchain(const VulkanProcTable& p_vk,
11 const VulkanDevice& device,
12 const VulkanSurface& surface,
13 GrDirectContext* skia_context,
14 std::unique_ptr<VulkanSwapchain> old_swapchain,
15 uint32_t queue_family_index) {}
16
17VulkanSwapchain::~VulkanSwapchain() = default;
18
19bool VulkanSwapchain::IsValid() const {
20 return false;
21}
22
23VulkanSwapchain::AcquireResult VulkanSwapchain::AcquireSurface() {
24 return {AcquireStatus::ErrorSurfaceLost, nullptr};
25}
26
27bool VulkanSwapchain::Submit() {
28 return false;
29}
30
31SkISize VulkanSwapchain::GetSize() const {
32 return SkISize::Make(0, 0);
33}
34
35} // namespace vulkan
36