Skip to content

Add flutter tizen window api - #198

Closed
xiaowei-guan wants to merge 1 commit into
flutter-tizen:mainfrom
xiaowei-guan:yuv-skia
Closed

xiaowei-guan wants to merge 1 commit into
flutter-tizen:mainfrom
xiaowei-guan:yuv-skia

Conversation

@xiaowei-guan

Copy link
Copy Markdown
Contributor

We have provided a window channel for Dart, but the native side cannot call this interface. If call it from the Dart side would actually impact performance.

Related issue : flutter-tizen/plugins#1138

@JSUYA JSUYA left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course, calling the API directly rather than using a Method channel may be the fastest in performance.

However, since the Embedder looks as the owner of Window APIs, it is necessary to detail review whether the Embedder is truly responsible for operations related to the Window.

Additionally, the Embedder provides similar functionalities as Method channels, and the names of each channel share the common meaning of the methods.
I believe the performance is at an acceptable level, as Window APIs are not called frequently enough to significantly impact performance.

If additional Geometry-related APIs are needed, how about adding a Method channel and calling it using a window manager plugin?

@xiaowei-guan

Copy link
Copy Markdown
Contributor Author

Of course, calling the API directly rather than using a Method channel may be the fastest in performance.

However, since the Embedder looks as the owner of Window APIs, it is necessary to detail review whether the Embedder is truly responsible for operations related to the Window.

Additionally, the Embedder provides similar functionalities as Method channels, and the names of each channel share the common meaning of the methods. I believe the performance is at an acceptable level, as Window APIs are not called frequently enough to significantly impact performance.

If additional Geometry-related APIs are needed, how about adding a Method channel and calling it using a window manager plugin?

If use Method channel to get window Geometry, we need to call GetGeometry at dart side, and send the data to native side.

@xiaowei-guan
xiaowei-guan marked this pull request as draft September 8, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants