File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ declare_args() {
1717 impeller_enable_opengles = is_mac || is_linux || is_win || is_android
1818
1919 # Whether the Vulkan backend is enabled.
20- impeller_enable_vulkan = is_linux || is_android
20+ impeller_enable_vulkan = is_android
2121
2222 # Whether to use a prebuilt impellerc.
2323 # If this is the empty string, impellerc will be built.
Original file line number Diff line number Diff line change @@ -434,10 +434,10 @@ def to_gn_args(args):
434434 gn_args['skia_use_metal'] = True
435435 gn_args['shell_enable_metal'] = True
436436
437- # Enable Vulkan on all platforms except for iOS. This is just
437+ # Enable Vulkan on all platforms except for iOS and Linux . This is just
438438 # to save on mobile binary size, as there's no reason the Vulkan embedder
439439 # features can't work on these platforms.
440- if args.target_os not in ['ios']:
440+ if args.target_os not in ['ios', 'linux' ]:
441441 gn_args['skia_use_vulkan'] = True
442442 gn_args['skia_use_vma'] = False
443443 gn_args['shell_enable_vulkan'] = True
You can’t perform that action at this time.
0 commit comments