From d70605dfbabf1268c27cdd765001b55607f095cc Mon Sep 17 00:00:00 2001 From: Swift Kim Date: Wed, 8 Feb 2023 15:04:27 +0900 Subject: [PATCH] Revert "[Tizen] Temporarily disable Vulkan backend for Linux" This reverts commit 02e4b7b90ccb740aab28994c1d416f43cd55f281. --- impeller/tools/impeller.gni | 2 +- tools/gn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/impeller/tools/impeller.gni b/impeller/tools/impeller.gni index 7ec09b2334384..e6e71edfbeae6 100644 --- a/impeller/tools/impeller.gni +++ b/impeller/tools/impeller.gni @@ -17,7 +17,7 @@ declare_args() { impeller_enable_opengles = is_mac || is_linux || is_win || is_android # Whether the Vulkan backend is enabled. - impeller_enable_vulkan = is_android + impeller_enable_vulkan = is_linux || is_android # Whether to use a prebuilt impellerc. # If this is the empty string, impellerc will be built. diff --git a/tools/gn b/tools/gn index 3a71cc2eeda79..00a3b710088e7 100755 --- a/tools/gn +++ b/tools/gn @@ -434,10 +434,10 @@ def to_gn_args(args): gn_args['skia_use_metal'] = True gn_args['shell_enable_metal'] = True - # Enable Vulkan on all platforms except for iOS and Linux. This is just + # Enable Vulkan on all platforms except for iOS. This is just # to save on mobile binary size, as there's no reason the Vulkan embedder # features can't work on these platforms. - if args.target_os not in ['ios', 'linux']: + if args.target_os not in ['ios']: gn_args['skia_use_vulkan'] = True gn_args['skia_use_vma'] = False gn_args['shell_enable_vulkan'] = True