Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 511cca95 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

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
parent cdd8d360
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -35,7 +35,7 @@ namespace uirenderer {


#ifndef __ANDROID__ // Layoutlib does not compile HWUIProperties.sysprop as it depends on cutils properties
#ifndef __ANDROID__ // Layoutlib does not compile HWUIProperties.sysprop as it depends on cutils properties
std::optional<bool> use_vulkan() {
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() {
std::optional<std::int32_t> render_ahead() {