[Impeller] Update README on preview status on Android. (#161253)

This commit is contained in:
Chinmay Garde 2025-01-07 11:43:53 -08:00 committed by GitHub
parent e3b301f23d
commit 8273197bc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,20 +193,20 @@ under the top-level `<dict>` tag:
### Android ### Android
Impeller is in preview on Android. Impeller will use Vulkan on Android by **default**. To explicitly opt out of using Impeller,
add the following to your `AndroidManifest.xml` under the `<application>` tag.
To your `AndroidManifest.xml` file, add under the `<application>` tag:
```xml ```xml
<meta-data <meta-data
android:name="io.flutter.embedding.android.EnableImpeller" android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" /> android:value="false" />
``` ```
Impeller will use Vulkan on Android by default when opted into. Where Vulkan Where Vulkan is unavailable, Impeller will fallback to Skia.
is unavailable, Impeller will fallback to Skia. However, Impellers OpenGL backend
is well under construction. To try that with your application, add the following However, Impellers OpenGL backend is well under construction. To try Impeller with OpenGL
under the `<application>` tag: in your application, add the following to your `AndroidManifest.xml` file under the
`<application>` tag:
> [!Warning] > [!Warning]
> Selecting the Impeller backend this way will only work in `debug` and `profile` > Selecting the Impeller backend this way will only work in `debug` and `profile`