revert to Skia rendering engine

This commit is contained in:
Thibault Deckers 2025-04-24 21:41:19 +02:00
parent cbaaf2fd87
commit bb6c2c341b
5 changed files with 16 additions and 3 deletions

View file

@ -43,15 +43,20 @@ jobs:
# `KEY_JKS` should contain the result of: # `KEY_JKS` should contain the result of:
# gpg -c --armor keystore.jks # gpg -c --armor keystore.jks
# `KEY_JKS_PASSPHRASE` should contain the passphrase used for the command above # `KEY_JKS_PASSPHRASE` should contain the passphrase used for the command above
# The SkSL bundle must be produced with the same Flutter engine as the one used to build the artifact
# flutter build <subcommand> --bundle-sksl-path shaders.sksl.json
# do not bundle shaders for izzy/libre flavours, to avoid crashes in some environments:
# cf https://github.com/deckerst/aves/issues/388
# cf https://github.com/deckerst/aves/issues/398
run: | run: |
echo "${{ secrets.KEY_JKS }}" > release.keystore.asc echo "${{ secrets.KEY_JKS }}" > release.keystore.asc
gpg -d --passphrase "${{ secrets.KEY_JKS_PASSPHRASE }}" --batch release.keystore.asc > $AVES_STORE_FILE gpg -d --passphrase "${{ secrets.KEY_JKS_PASSPHRASE }}" --batch release.keystore.asc > $AVES_STORE_FILE
rm release.keystore.asc rm release.keystore.asc
mkdir outputs mkdir outputs
scripts/apply_flavor_play.sh scripts/apply_flavor_play.sh
./flutterw build appbundle -t lib/main_play.dart --flavor play ./flutterw build appbundle -t lib/main_play.dart --flavor play --bundle-sksl-path shaders.sksl.json
cp build/app/outputs/bundle/playRelease/*.aab outputs cp build/app/outputs/bundle/playRelease/*.aab outputs
./flutterw build apk -t lib/main_play.dart --flavor play ./flutterw build apk -t lib/main_play.dart --flavor play --bundle-sksl-path shaders.sksl.json
cp build/app/outputs/apk/play/release/*.apk outputs cp build/app/outputs/apk/play/release/*.apk outputs
scripts/apply_flavor_izzy.sh scripts/apply_flavor_izzy.sh
./flutterw build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi ./flutterw build apk -t lib/main_izzy.dart --flavor izzy --split-per-abi

View file

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
## <a id="unreleased"></a>[Unreleased] ## <a id="unreleased"></a>[Unreleased]
### Changed
- revert to Skia rendering engine
## <a id="v1.12.10"></a>[v1.12.10] - 2025-04-16 ## <a id="v1.12.10"></a>[v1.12.10] - 2025-04-16
### Added ### Added

View file

@ -331,6 +331,6 @@
android:value="2" /> android:value="2" />
<meta-data <meta-data
android:name="io.flutter.embedding.android.EnableImpeller" android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" /> android:value="false" />
</application> </application>
</manifest> </manifest>

View file

@ -160,6 +160,9 @@ flutter:
################################################################################ ################################################################################
# Test driver # Test driver
# capture shaders (profile mode, real device only):
# % ./flutterw drive --flavor play -t test_driver/driver_shaders.dart --profile --cache-sksl --write-sksl-on-exit shaders.sksl.json
# generate screenshots (profile mode, specific collection): # generate screenshots (profile mode, specific collection):
# % ./flutterw drive --flavor play -t test_driver/driver_screenshots.dart --profile # % ./flutterw drive --flavor play -t test_driver/driver_screenshots.dart --profile

1
shaders.sksl.json Normal file

File diff suppressed because one or more lines are too long