| Flutter Impeller |

device_holder.h
Go to the documentation of this file.
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
5 #pragma once
6
7 #include "impeller/renderer/backend/vulkan/vk.h" // IWYU pragma: keep.
8
9 namespace impeller {
10
11 class DeviceHolder {
12 public:
13 virtual ~DeviceHolder() = default;
14 virtual const vk::Device& GetDevice() const = 0;
15 virtual const vk::PhysicalDevice& GetPhysicalDevice() const = 0;
16 };
17
18 } // namespace impeller
impeller::DeviceHolder
Definition: device_holder.h:11
vk.h
impeller::DeviceHolder::GetDevice
virtual const vk::Device & GetDevice() const =0
impeller::DeviceHolder::~DeviceHolder
virtual ~DeviceHolder()=default
impeller
Definition: aiks_context.cc:10
impeller::DeviceHolder::GetPhysicalDevice
virtual const vk::PhysicalDevice & GetPhysicalDevice() const =0