Skip to content
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

Support lightweight engines for desktop shells #95076

Open
ColdPaleLight opened this issue Dec 11, 2021 · 4 comments
Open

Support lightweight engines for desktop shells #95076

ColdPaleLight opened this issue Dec 11, 2021 · 4 comments
Labels
a: desktop Running on desktop c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. fyi-linux For the attention of the Linux platform team fyi-windows For the attention of the Windows platform team P3 Issues that are less important to the Flutter project platform-linux Building on or for Linux specifically platform-mac Building on or for macOS specifically platform-windows Building on or for Windows specifically team-macos Owned by the macOS platform team triaged-macos Triaged by the macOS platform team

Comments

@ColdPaleLight
Copy link
Member

ColdPaleLight commented Dec 11, 2021

Since the official multi-window solution has not yet been implemented, the current workaround in the community is that one window corresponds to one engine,such as native shell : https://nativeshell.dev/

So if the desktop can also support lightweight engines like mobile, we can improve window opening performance and reduce overhead for each window. It is also helpful for communication between windows.

If we can go further and let multiple lightweight engines share a root isolate, then we can also completely solve the problem of data sharing. #94995

related issue:
#30701

/cc @stuartmorgan @gspencergoog @knopp

@ColdPaleLight ColdPaleLight added a: desktop Running on desktop engine flutter/engine repository. See also e: labels. platform-linux Building on or for Linux specifically platform-mac Building on or for macOS specifically platform-windows Building on or for Windows specifically c: proposal A detailed proposal for a change to Flutter c: new feature Nothing broken; request for a new capability P3 Issues that are less important to the Flutter project labels Dec 11, 2021
@zanderso
Copy link
Member

cc @cbracken

@xuzhongpeng

This comment was marked as off-topic.

@loic-sharma
Copy link
Member

We are currently working on multi-window support, which will enable you to render to multiple views using a single Dart isolate & Flutter engine. You can track our progress here: https://github.com/orgs/flutter/projects/39

@cbracken cbracken added fyi-macos For the attention of macOS platform team team-macos Owned by the macOS platform team fyi-windows For the attention of the Windows platform team fyi-linux For the attention of the Linux platform team and removed team-desktop fyi-macos For the attention of macOS platform team labels Jun 5, 2024
@flutter-triage-bot
Copy link

The triaged-desktop label is irrelevant if there is no team-desktop label or fyi-desktop label.

@cbracken cbracken added the triaged-macos Triaged by the macOS platform team label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: desktop Running on desktop c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter engine flutter/engine repository. See also e: labels. fyi-linux For the attention of the Linux platform team fyi-windows For the attention of the Windows platform team P3 Issues that are less important to the Flutter project platform-linux Building on or for Linux specifically platform-mac Building on or for macOS specifically platform-windows Building on or for Windows specifically team-macos Owned by the macOS platform team triaged-macos Triaged by the macOS platform team
Projects
None yet
Development

No branches or pull requests

6 participants