[Impeller] Add an FAQ. (flutter/engine#34052)

This commit is contained in:
Chinmay Garde 2022-06-15 09:00:25 -07:00 committed by GitHub
parent 7a1d6552ca
commit bbbf20feb3
2 changed files with 13 additions and 0 deletions

View File

@ -179,6 +179,7 @@ To your `AndroidManifest.xml` file, add under the `<application>` tag:
## Documentation, References, and Additional Reading
* [Frequently Asked Questions](docs/faq.md)
* [Impellers Coordinate System](docs/coordinate_system.md)
* [How to Setup Xcode for GPU Frame Captures with Metal.](docs/xcode_frame_capture.md)
* [Learning to Read GPU Frame Captures](docs/read_frame_captures.md)

View File

@ -0,0 +1,12 @@
# Frequently Asked Questions
* How do you run `impeller_unittests` with Playgrounds enabled?
* Playgrounds in the `impeller_unittests` harness can be enabled in one of
three ways:
* Edit `gn args` directly and add `impeller_enable_playground = true`.
* Add the `--enable-impeller-playground` flag to your `./flutter/tools/gn`
invocation.
* Set the `FLUTTER_IMPELLER_ENABLE_PLAYGROUND` to `1` before invoking
`./flutter/tools/gn`. Only do this if you frequently work with Playgrounds
and don't want to have to set the flags manually. Also, it would be a bad
idea to set this environment variable on CI.