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 
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|
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_
SurfaceGLES & operator=(const SurfaceGLES &)=delete
SurfaceGLES(const SurfaceGLES &)=delete
SurfaceGLES(Context &context, uint64_t fbo, PixelFormat color_format, ISize size)
Definition: surface_gles.cc:11
PixelFormat
The Pixel formats supported by Impeller. The naming convention denotes the usage of the component,...
Definition: formats.h:99