Flutter Engine
 
Loading...
Searching...
No Matches
surface_mtl.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#ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_METAL_SURFACE_MTL_H_
6#define FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_METAL_SURFACE_MTL_H_
7
9
10namespace impeller::interop {
11
12class SurfaceMTL final : public Surface {
13 public:
14 SurfaceMTL(Context& context, void* metal_drawable);
15
16 SurfaceMTL(Context& context, std::shared_ptr<impeller::Surface> surface);
17
19
20 SurfaceMTL(const SurfaceMTL&) = delete;
21
22 SurfaceMTL& operator=(const SurfaceMTL&) = delete;
23};
24
25} // namespace impeller::interop
26
27#endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_METAL_SURFACE_MTL_H_
SurfaceMTL(const SurfaceMTL &)=delete
SurfaceMTL & operator=(const SurfaceMTL &)=delete
VkSurfaceKHR surface
Definition main.cc:65