Skip to content

Commit

Permalink
[Tizen] Enable vulkan
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan committed Jun 26, 2024
1 parent 0199253 commit f374bac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build_overrides/vulkan_headers.gni
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
# set anything.

if (is_linux) {
vulkan_use_x11 = true
vulkan_use_x11 = false
vulkan_use_wayland = true
}
2 changes: 1 addition & 1 deletion impeller/tools/impeller.gni
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare_args() {
enable_unittests) && target_os != "fuchsia"

# Whether the Vulkan backend is enabled.
impeller_enable_vulkan = (is_win || is_android || is_mac ||
impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac ||
enable_unittests) && target_os != "fuchsia"

# Whether to use a prebuilt impellerc.
Expand Down
2 changes: 1 addition & 1 deletion tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def to_gn_args(args):
# 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 gn_args['target_os'] not in ['ios', 'mac', 'linux']:
if gn_args['target_os'] not in ['ios', 'mac']:
gn_args['skia_use_vulkan'] = True
gn_args['skia_use_vma'] = False
gn_args['shell_enable_vulkan'] = True
Expand Down

0 comments on commit f374bac

Please sign in to comment.