-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up the embedder API and refactor #83
Clean up the embedder API and refactor #83
Conversation
1299efb
to
5a51f28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally, looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this work. thanks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.4 to 1.1.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@f5d8227...8834766) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Rename types and functions * Clean up engine APIs * Add FlutterDesktopEngineGetMessenger API * Refactor FlutterTizenEngine a bit * Refactor channels
Clean up the Tizen embedder API and refactor some parts of the embedder.
APIs changed:
Flutter
toFlutterDesktop
(this has been discussed once before somewhere in the internal repo but I'd like to change it back to more verbose one to avoid ambiguity and for consistency with other plugin/texture APIs)FlutterEngineProperties
is a Flutter embedder API (embedder.h
) or Tizen API (flutter_tizen.h
).FlutterDesktopEngineGetMessenger
(for later use)FlutterCreateWindow
,FlutterDestroyWindow
,FlutterRunsPrecompiledCode
FlutterWindowControllerState
is replaced byFlutterDesktopEngineRef
(because the name is not appropriate for headless mode)FlutterDesktopRunEngine
takes abool
parameterOther changes:
TizenEmbedderEngine
toFlutterTizenEngine
(which is similar toFlutterWindowsEngine
) and clean uprenderer
instead oftizen_renderer
)A follow-up PR will be made in the tool repo soon.
More refactoring should be done in the future. I mainly focused on cleaning up
flutter_tizen.cc
andflutter_tizen_engine.h
in this PR.