refactor Windows classes to separate EGL/WGL/Backing Window

This commit is contained in:
Nick Fisher
2023-10-25 13:11:58 +11:00
parent c4245b0dd3
commit 8cea106b30
18 changed files with 972 additions and 996 deletions

23
windows/backing_window.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef _BACKING_WINDOW_H
#define _BACKING_WINDOW_H
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
#include <flutter/standard_method_codec.h>
namespace polyvox_filament {
class BackingWindow {
public:
BackingWindow(
flutter::PluginRegistrarWindows *pluginRegistrar,
int initialWidth,
int initialHeight);
HWND GetHandle();
private:
HWND _windowHandle;
HWND _flutterRootWindow;
}
}
#endif