| Flutter Impeller |

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
8 #include "impeller/toolkit/interop/surface.h"
9
10 namespace impeller::interop {
11
12 class 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|
22 ~SurfaceGLES();
23
24 SurfaceGLES(const SurfaceGLES&) = delete;
25
26 SurfaceGLES& operator=(const SurfaceGLES&) = delete;
27 };
28
29 } // namespace impeller::interop
30
31 #endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_BACKEND_GLES_SURFACE_GLES_H_
impeller::interop::Context
Definition: context.h:16
impeller::interop::SurfaceGLES
Definition: surface_gles.h:12
impeller::interop::SurfaceGLES::operator=
SurfaceGLES & operator=(const SurfaceGLES &)=delete
impeller::interop::SurfaceGLES::SurfaceGLES
SurfaceGLES(const SurfaceGLES &)=delete
impeller::interop::SurfaceGLES::~SurfaceGLES
~SurfaceGLES()
impeller::interop::SurfaceGLES::SurfaceGLES
SurfaceGLES(Context &context, uint64_t fbo, PixelFormat color_format, ISize size)
Definition: surface_gles.cc:11
impeller::interop::Surface
Definition: surface.h:19
impeller::interop
Definition: context_gles.cc:12
impeller::PixelFormat
PixelFormat
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component,...
Definition: formats.h:99
impeller::TSize
Definition: size.h:25
surface.h