Skip to content

Commit 6364efa

Browse files
xiaowei-guanJSUYA
authored andcommitted
[Tizen] Enable vulkan (#11)
1 parent c2bedb2 commit 6364efa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

engine/src/build_overrides/vulkan_headers.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
# set anything.
77

88
if (is_linux) {
9-
vulkan_use_x11 = true
9+
vulkan_use_x11 = false
1010
vulkan_use_wayland = true
1111
}

engine/src/flutter/impeller/tools/args.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ declare_args() {
1818
enable_unittests) && target_os != "fuchsia"
1919

2020
# Whether the Vulkan backend is enabled.
21-
impeller_enable_vulkan = (is_win || is_android || is_mac ||
21+
impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac ||
2222
enable_unittests) && target_os != "fuchsia"
2323
}
2424

engine/src/flutter/shell/config.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ declare_args() {
77

88
# The logic for enabling Vulkan and Metal is in tools/gn.
99
shell_enable_metal = false
10-
shell_enable_vulkan = false
10+
shell_enable_vulkan = true
1111

1212
shell_enable_software = true
1313
}

engine/src/flutter/tools/gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def to_gn_args(args):
629629
# Enable Vulkan on all platforms except for iOS. This is just
630630
# to save on mobile binary size, as there's no reason the Vulkan embedder
631631
# features can't work on these platforms.
632-
if gn_args['target_os'] not in ['ios', 'mac', 'linux']:
632+
if gn_args['target_os'] not in ['ios', 'mac']:
633633
gn_args['skia_use_vulkan'] = True
634634
gn_args['skia_use_vma'] = False
635635
gn_args['shell_enable_vulkan'] = True

0 commit comments

Comments
 (0)