summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-11-06 13:25:42 -0500
committer Leon Scroggins III <scroggo@google.com> 2023-11-07 14:02:43 -0500
commit511cca95282355a498f59d248b42104453fe82ea (patch)
tree81bb158388476078c4aced2defc8fac50824ca3b /libs
parentcdd8d360130022ecdd2e41e234428de8e80996cd (diff)
libhwui: Use Vulkan by default
Pixel has been using Vulkan in libhwui for several years now. We strongly recommended using it in the Android 14 (U) CDD, and we plan to make it MUST in Android 15 (V). Update the default to match. Bug: 293371537 Bug: 301558076 Test: CtsUiRenderingTestCases, CtsGraphicsTestCases Change-Id: I106381fadf6a686127cb6120afbaef53db5c4aa8
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/Properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp
index 06aed63d8def..09d3f05935b9 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -35,7 +35,7 @@ namespace uirenderer {
#ifndef __ANDROID__ // Layoutlib does not compile HWUIProperties.sysprop as it depends on cutils properties
std::optional<bool> use_vulkan() {
- return base::GetBoolProperty("ro.hwui.use_vulkan", false);
+ return base::GetBoolProperty("ro.hwui.use_vulkan", true);
}
std::optional<std::int32_t> render_ahead() {