Skip to content

Commit

Permalink
[impeller] Add doc note on how to enable Impeller without the tool. (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored May 25, 2022
1 parent b067d1a commit fd770e3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions impeller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,26 @@ states of completion:
there are no Impeller components that do this currently.

![Shader Compilation Pipeline](docs/shader_pipeline.png)

## Try Impeller in Flutter

Impeller is available under the `--enable-impeller` flag on iOS and Android. This flag can be specified to `flutter run`.

If the application needs to be launched with Impeller enabled without using the Flutter tool, follow the platform specific steps below.

### iOS

To your `Info.plist` file, add under the top-level `<dict>` tag:
```
<key>FLTEnableImpeller</key>
<true/>
```

### Android

To your `AndroidManifest.xml` file, add under the `<application>` tag:
```
<meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" />
```

0 comments on commit fd770e3

Please sign in to comment.