From 591640bb9907bb02540f8bf80dd024b7bf76746f Mon Sep 17 00:00:00 2001 From: Amir Abbas Jannatian <47953151+amir14a@users.noreply.github.com> Date: Mon, 20 Jan 2025 06:31:18 +0330 Subject: [PATCH] [Impeller] Change documents for enabling Impeller by default on Android Impeller is no longer on preview on Android and from flutter 3.27 it enabled by default on Android. --- impeller/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/impeller/README.md b/impeller/README.md index 4cf82c5913f5e..2d71321e66eb5 100644 --- a/impeller/README.md +++ b/impeller/README.md @@ -192,20 +192,20 @@ under the top-level `` tag: ``` ### Android + +Flutter enables Impeller by **default** on Android. On devices that don't support Vulkan, Impeller will fallback to the the legacy OpenGL renderer. No action on your part is necessary for this fallback behavior. -Impeller is in preview on Android. +* To **disable** Impeller when debugging, pass --no-enable-impeller to the flutter run command. + ```flutter run --no-enable-impeller``` -To your `AndroidManifest.xml` file, add under the `` tag: - -```xml +* To **disable** Impeller when deploying your app, add the following setting to your project's `AndroidManifest.xml` file under the `` tag: + ```xml -``` + android:value="false" /> + ``` -Impeller will use Vulkan on Android by default when opted into. Where Vulkan -is unavailable, Impeller will fallback to Skia. However, Impellers OpenGL backend -is well under construction. To try that with your application, add the following +Impellers OpenGL backend is well under construction. To try that with your application, add the following under the `` tag: > [!Warning]