Skip to content

Commit

Permalink
feat(flutter): replace Skia with Impeller rendering engine
Browse files Browse the repository at this point in the history
  • Loading branch information
JagandeepBrar committed Jan 27, 2023
1 parent d612ae2 commit 6241ee4
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 243 deletions.
2 changes: 0 additions & 2 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ platform :android do
"build",
"appbundle",
"--release",
"--bundle-sksl-path=shaders/android_sksl.json",
"--build-number=#{options[:build_number]}",
)

Expand All @@ -23,7 +22,6 @@ platform :android do
"build",
"apk",
"--release",
"--bundle-sksl-path=shaders/android_sksl.json",
"--build-number=#{options[:build_number]}",
)

Expand Down
4 changes: 3 additions & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -350,6 +350,7 @@
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -464,6 +465,7 @@
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
8 changes: 6 additions & 2 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,9 @@
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
</dict>
</plist>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>FLTEnableImpeller</key>
<true/>
</dict>
</plist>
1 change: 0 additions & 1 deletion ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ platform :ios do
sh(
"flutter", "build", "ios",
"--release",
"--bundle-sksl-path=shaders/ios_sksl.json",
"--no-codesign",
"--build-number=#{options[:build_number]}",
)
Expand Down
5 changes: 3 additions & 2 deletions macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 54;
objects = {

/* Begin PBXAggregateTarget section */
Expand Down Expand Up @@ -203,7 +203,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 0930;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
33CC10EC2044A3C60003C045 = {
Expand Down Expand Up @@ -255,6 +255,7 @@
/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1000"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "10.2.2",
"private": true,
"scripts": {
"build:android": "flutter clean && flutter build apk --bundle-sksl-path shaders/android_sksl.json --release",
"build:ios": "flutter clean && flutter build ipa --bundle-sksl-path shaders/ios_sksl.json --release",
"build:android": "flutter clean && flutter build apk --release",
"build:ios": "flutter clean && flutter build ipa --release",
"build:linux": "flutter clean && flutter build linux --release",
"build:macos": "flutter clean && flutter build macos --release",
"build:windows": "flutter clean && flutter build windows --release",
Expand Down
71 changes: 0 additions & 71 deletions shaders/android_sksl.json

This file was deleted.

161 changes: 0 additions & 161 deletions shaders/ios_sksl.json

This file was deleted.

0 comments on commit 6241ee4

Please sign in to comment.