mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
ff484d4f69
Start work on flutter/flutter#30726 by adding an alternative win32 shell platform implementation for Windows that is not based on GLFW and that uses LIBANGLE for rendering and native win32 windowing and input. This change does not replace the GLFW implementation but rather runs side by side with it producing a secondary flutter_windows_win32.dll artifact. The following items must be added to attain parity with the GLFW implementation: - Custom task scheduling - Support for keyboard modifier keys - Async texture uploads - Correct high DPI handling on Windows versions < 1703 and will be added in subsequent changes.
This code is intended to be built into plugins and applications to provide higher-level, C++ abstractions for interacting with the Flutter library. Over time, the goal is to move more of this code into the library in a way that provides a usable ABI (e.g., does not use standard library in the interfaces). Note that this wrapper is still in early stages. Expect significant churn in both the APIs and the structure of the wrapper (e.g., the exact set of files that need to be built).