Provide access to GLFW window in plugins (#8806)
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.
Showing
想要评论请 注册 或 登录