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
8
#include "
impeller/toolkit/interop/surface.h
"
9
10
namespace
impeller::interop
{
11
12
class
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
18
~SurfaceMTL
();
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_
impeller::interop::Context
Definition
context.h:16
impeller::interop::Surface
Definition
surface.h:19
impeller::interop::SurfaceMTL
Definition
surface_mtl.h:12
impeller::interop::SurfaceMTL::SurfaceMTL
SurfaceMTL(const SurfaceMTL &)=delete
impeller::interop::SurfaceMTL::~SurfaceMTL
~SurfaceMTL()
impeller::interop::SurfaceMTL::operator=
SurfaceMTL & operator=(const SurfaceMTL &)=delete
surface
VkSurfaceKHR surface
Definition
main.cc:65
surface.h
impeller::interop
Definition
context_gles.cc:12
impeller
toolkit
interop
backend
metal
surface_mtl.h
Generated on Thu Nov 6 2025 16:11:24 for Flutter Engine by
1.9.8