-
Notifications
You must be signed in to change notification settings - Fork 17
Clean up the embedder API and refactor #83
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
Conversation
1299efb to
5a51f28
Compare
bbrto21
left a comment
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!
bwikbs
left a comment
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 👍
xiaowei-guan
left a comment
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] <support@github.com> 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:
FluttertoFlutterDesktop(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)FlutterEnginePropertiesis a Flutter embedder API (embedder.h) or Tizen API (flutter_tizen.h).FlutterDesktopEngineGetMessenger(for later use)FlutterCreateWindow,FlutterDestroyWindow,FlutterRunsPrecompiledCodeFlutterWindowControllerStateis replaced byFlutterDesktopEngineRef(because the name is not appropriate for headless mode)FlutterDesktopRunEnginetakes aboolparameterOther changes:
TizenEmbedderEnginetoFlutterTizenEngine(which is similar toFlutterWindowsEngine) and clean uprendererinstead 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.ccandflutter_tizen_engine.hin this PR.