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

Add a runtime switch guide to control Impeller usage #11568

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bc-lee
Copy link

@bc-lee bc-lee commented Jan 4, 2025

Description of what this PR is changing or adding, and why:

Impeller has been causing issues on lower-end or older devices.
While stabilizing Impeller remains a priority, it is essential
to provide app developers with runtime control over its usage.
This allows decisions to be made on a per-device or per-SoC basis.

This patch introduces a guide for controlling Impeller usage at runtime
using the getFlutterShellArgs() method.

Issues fixed by this PR (if any):
Partially fixes flutter/flutter#160902

PRs or commits this PR depends on (if any):

Presubmit checklist

  • This PR is marked as draft with an explanation if not meant to land until a future stable release.
  • This PR doesn’t contain automatically generated corrections (Grammarly or similar).
  • This PR follows the Google Developer Documentation Style Guidelines — for example, it doesn’t use i.e. or e.g., and it avoids I and we (first person).
  • This PR uses semantic line breaks of 80 characters or fewer.

Impeller has been causing issues on lower-end or older devices.
While stabilizing Impeller remains a priority, it is essential
to provide app developers with runtime control over its usage.
This allows decisions to be made on a per-device or per-SoC basis.

This patch introduces a guide for controlling Impeller usage at runtime
using the `getFlutterShellArgs()` method.
@bc-lee bc-lee requested review from sfshaza2, parlough and a team as code owners January 4, 2025 14:50
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.

Runtime-Configurable Engine Options (Similar to FieldTrial / RemoteConfig)
1 participant