5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_OPENGL_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_OPENGL_H_
10 #include "flutter/fml/macros.h"
11 #include "flutter/impeller/renderer/backend/gles/proc_table_gles.h"
12 #include "flutter/shell/platform/embedder/embedder.h"
22 impeller::ProcTableGLES::Resolver resolver,
23 bool enable_impeller);
27 FlutterBackingStore* result)
override;
34 const FlutterLayer** layers,
35 size_t layers_count)
override;
42 struct TextureFormat {
44 uint32_t sized_format = 0;
46 uint32_t general_format = 0;
51 bool is_initialized_ =
false;
54 impeller::ProcTableGLES::Resolver resolver_ =
nullptr;
57 std::unique_ptr<impeller::ProcTableGLES> gl_ =
nullptr;
61 TextureFormat format_;
64 bool enable_impeller_ =
false;
77 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_OPENGL_H_