From 511cca95282355a498f59d248b42104453fe82ea Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Mon, 6 Nov 2023 13:25:42 -0500 Subject: 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 --- libs/hwui/Properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') 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 use_vulkan() { - return base::GetBoolProperty("ro.hwui.use_vulkan", false); + return base::GetBoolProperty("ro.hwui.use_vulkan", true); } std::optional render_ahead() { -- cgit v1.2.3-59-g8ed1b