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"
13#include "flutter/shell/platform/windows/compositor.h"
14#include "flutter/shell/platform/windows/flutter_windows_engine.h"
34 size_t layers_count)
override;
43 bool is_initialized_ =
false;
49 std::unique_ptr<impeller::ProcTableGLES> gl_ =
nullptr;
bool Present(FlutterWindowsView *view, const FlutterLayer **layers, size_t layers_count) override
|Compositor|
bool CreateBackingStore(const FlutterBackingStoreConfig &config, FlutterBackingStore *result) override
|Compositor|
CompositorOpenGL(FlutterWindowsEngine *engine, impeller::ProcTableGLES::Resolver resolver)
bool CollectBackingStore(const FlutterBackingStore *store) override
|Compositor|
std::function< void *(const char *function_name)> Resolver