Copy common headers and source code (including embedder.h and cpp_client_wrapper) from the Flutter 3.7 engine source tree except accessibility-related code.
TODO:
[x] Fix the black screen and flickering issue.
There will be a follow-up PR soon.
[x] Implement a thread-safe messenger (FlutterDesktopMessengerAddRef and etc.)
[x] Migrate plugins to use TextureRegistrar::UnregisterTexture(texture_id, callback) instead of deprecatedTextureRegistrar::UnregisterTexture(texture_id).
Copy common headers and source code (including
embedder.h
and cpp_client_wrapper) from the Flutter 3.7 engine source tree except accessibility-related code.TODO:
FlutterDesktopMessengerAddRef
and etc.)third_party/accessibility
).update_semantics_node_callback
withupdate_semantics_callback
.TextureRegistrar::UnregisterTexture(texture_id, callback)
instead of deprecatedTextureRegistrar::UnregisterTexture(texture_id)
.