mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-03 14:09:33 +03:00
Disable ANGLE's VK backend on official Chrome Android builds.
ANGLE's VK backend induces a memory and binary size regression due to global initializers in glslang/spirvtools. Disable it on Android Chrome official builds. Bug: chromium:1172451 Change-Id: I08d77cf11e20b393c0faf7c85d08c92061e5a09b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2969385 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
This commit is contained in:
committed by
Angle LUCI CQ
parent
97fca0c679
commit
dc334829d8
@@ -195,10 +195,11 @@ gn args --list <dir>
|
||||
### Performance config
|
||||
|
||||
This config is designed to get maximum performance by disabling debug configs and validation layers.
|
||||
Note: The oddly named `is_official_build` is a more aggressive optimization level than `Release`. Its names is historical.
|
||||
Note: The oddly named `is_official_build` is a more aggressive optimization level than `Release`. Its name is historical.
|
||||
```
|
||||
target_os = "android"
|
||||
target_cpu = "arm64"
|
||||
angle_enable_vulkan = true
|
||||
is_component_build = false
|
||||
is_official_build = true
|
||||
is_debug = false
|
||||
|
||||
@@ -125,6 +125,7 @@ declare_args() {
|
||||
|
||||
angle_enable_vulkan =
|
||||
angle_has_build &&
|
||||
!(is_android && build_with_chromium && is_official_build) &&
|
||||
((is_win && !angle_is_winuwp) ||
|
||||
(is_linux && (angle_use_x11 || angle_use_vulkan_display) &&
|
||||
!is_chromeos) || is_android || is_fuchsia || is_ggp || is_mac)
|
||||
|
||||
Reference in New Issue
Block a user