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);
26 FlutterBackingStore* result)
override;
33 const FlutterLayer** layers,
34 size_t layers_count)
override;
41 struct TextureFormat {
43 uint32_t sized_format = 0;
45 uint32_t general_format = 0;
50 bool is_initialized_ =
false;
53 impeller::ProcTableGLES::Resolver resolver_ =
nullptr;
56 std::unique_ptr<impeller::ProcTableGLES> gl_ =
nullptr;
60 TextureFormat format_;
73 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_OPENGL_H_