mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Plugins may need to be able to access functions affecting the GLFW window (e.g., a plugin to resize the window). This restructures the API to create a distinction at both the C and C++ level between the window controller, which provides access to high-level behaviors driving the Flutter application, and the window, which provides access to functions to affect the UI state of the window (i.e., wrapped GLFWwindow functions). Also provides a PluginRegistrar extension for plugins that need access to GLFW-specific functionality.