Flutter Engine
 
Loading...
Searching...
No Matches
surface_gles.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_GLES_SURFACE_GLES_H_
6#define FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_GLES_SURFACE_GLES_H_
7
9
10namespace impeller::interop {
11
12class SurfaceGLES final : public Surface {
13 public:
14 SurfaceGLES(Context& context,
15 uint64_t fbo,
16 PixelFormat color_format,
17 ISize size);
18
19 SurfaceGLES(Context& context, std::shared_ptr<impeller::Surface> surface);
20
21 // |Surface|
23
24 SurfaceGLES(const SurfaceGLES&) = delete;
25
27};
28
29} // namespace impeller::interop
30
31#endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_GLES_SURFACE_GLES_H_
SurfaceGLES(const SurfaceGLES &)=delete
SurfaceGLES & operator=(const SurfaceGLES &)=delete
VkSurfaceKHR surface
Definition main.cc:65
PixelFormat
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component,...
Definition formats.h:99