[Impeller] Add FAQ entries on how Impeller affects Flutter application packaging. (flutter/engine#34794)

This commit is contained in:
Chinmay Garde 2022-07-20 22:36:42 -07:00 committed by GitHub
parent 0796d456c7
commit e16a4d8d3c

View File

@ -47,3 +47,18 @@
been sanity checks to ensure that the Impeller API can be ported to WASM and
also that Impeller shaders can be [compiled to WGSL](https://github.com/chinmaygarde/wgsl_sandbox)
for eventual WebGPU support.
* How will Impeller affect the way in which Flutter applications are created and
packaged?
* It won't.
* Impeller, like Skia, is an implementation detail of the Flutter Engine.
Using a different rendering package will not affect the way in which the
Flutter Engine is used.
* Like with Skia today, none of Impellers symbols will be exposed from the
Flutter Engine dynamic library.
* The binary size overhead of Impeller is around 100 KB per architecture. This
includes all precompiled shaders.
* Impeller is compiled into the Flutter engine. It is currently behind a flag
as development progresses.
* How do I enable Impeller to try it out myself?
* See the instructions in the README on how to [try Impeller in
Flutter](https://github.com/flutter/engine/tree/main/impeller#try-impeller-in-flutter).