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

Commit e545f96e authored by Mattias Simonsson's avatar Mattias Simonsson
Browse files

Enable VK_EXT_global_priority

This extension is used to set context priority for Vulkan
queues. Without it, Properties::contextPriority is ignored.

Bug: 290104871
Test: Chrome swipe home
Change-Id: I362f0f253b466cfcbcebbe79936ae9a5c5261d92
parent 7b715ed9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ namespace android {
namespace uirenderer {
namespace renderthread {

static std::array<std::string_view, 19> sEnableExtensions{
static std::array<std::string_view, 20> sEnableExtensions{
        VK_KHR_BIND_MEMORY_2_EXTENSION_NAME,
        VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME,
        VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME,
@@ -60,6 +60,7 @@ static std::array<std::string_view, 19> sEnableExtensions{
        VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME,
        VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME,
        VK_KHR_ANDROID_SURFACE_EXTENSION_NAME,
        VK_EXT_GLOBAL_PRIORITY_EXTENSION_NAME,
};

static bool shouldEnableExtension(const std::string_view& extension) {