Skip to content

Commit 9d40ef4

Browse files
committed
Update intro_flutter_gpu
1 parent 3a3f4d1 commit 9d40ef4

File tree

46 files changed

+200
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+200
-175
lines changed

intro_flutter_gpu/codelab_rebuild.yaml

Lines changed: 121 additions & 121 deletions
Large diffs are not rendered by default.

intro_flutter_gpu/step_01/hook/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:native_assets_cli/native_assets_cli.dart';
88
void main(List<String> args) async {
99
await build(args, (config, output) async {
1010
await buildShaderBundleJson(
11-
buildConfig: config,
11+
buildInput: config,
1212
buildOutput: output,
1313
manifestFileName: 'my_first_triangle.shaderbundle.json',
1414
);

intro_flutter_gpu/step_01/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,6 +55,7 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"

intro_flutter_gpu/step_01/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies:
1111
sdk: flutter
1212
flutter_gpu:
1313
sdk: flutter
14-
flutter_gpu_shaders: ^0.2.0
15-
native_assets_cli: ^0.9.0
14+
flutter_gpu_shaders: ^0.3.0
15+
native_assets_cli: ^0.13.0
1616
vector_math: ^2.1.4
1717

1818
dev_dependencies:

intro_flutter_gpu/step_02/hook/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:native_assets_cli/native_assets_cli.dart';
88
void main(List<String> args) async {
99
await build(args, (config, output) async {
1010
await buildShaderBundleJson(
11-
buildConfig: config,
11+
buildInput: config,
1212
buildOutput: output,
1313
manifestFileName: 'my_first_triangle.shaderbundle.json',
1414
);

intro_flutter_gpu/step_02/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,6 +55,7 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"

intro_flutter_gpu/step_02/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies:
1111
sdk: flutter
1212
flutter_gpu:
1313
sdk: flutter
14-
flutter_gpu_shaders: ^0.2.0
15-
native_assets_cli: ^0.9.0
14+
flutter_gpu_shaders: ^0.3.0
15+
native_assets_cli: ^0.13.0
1616
vector_math: ^2.1.4
1717

1818
dev_dependencies:

intro_flutter_gpu/step_03/hook/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'package:native_assets_cli/native_assets_cli.dart';
88
void main(List<String> args) async {
99
await build(args, (config, output) async {
1010
await buildShaderBundleJson(
11-
buildConfig: config,
11+
buildInput: config,
1212
buildOutput: output,
1313
manifestFileName: 'my_first_triangle.shaderbundle.json',
1414
);

intro_flutter_gpu/step_03/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,6 +55,7 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"

intro_flutter_gpu/step_03/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ dependencies:
1111
sdk: flutter
1212
flutter_gpu:
1313
sdk: flutter
14-
flutter_gpu_shaders: ^0.2.0
15-
native_assets_cli: ^0.9.0
14+
flutter_gpu_shaders: ^0.3.0
15+
native_assets_cli: ^0.13.0
1616
vector_math: ^2.1.4
1717

1818
dev_dependencies:

0 commit comments

Comments
 (0)