Loading libs/hwui/Properties.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -51,9 +51,6 @@ constexpr bool resample_gainmap_regions() { return false; } constexpr bool query_global_priority() { return false; } constexpr bool early_preload_gl_context() { return false; } Loading Loading @@ -119,7 +116,6 @@ float Properties::maxHdrHeadroomOn8bit = 5.f; // TODO: Refine this number bool Properties::clipSurfaceViews = false; bool Properties::hdr10bitPlus = false; bool Properties::skipTelemetry = false; bool Properties::queryGlobalPriority = false; int Properties::timeoutMultiplier = 1; Loading Loading @@ -195,7 +191,6 @@ bool Properties::load() { clipSurfaceViews = base::GetBoolProperty("debug.hwui.clip_surfaceviews", hwui_flags::clip_surfaceviews()); hdr10bitPlus = hwui_flags::hdr_10bit_plus(); queryGlobalPriority = hwui_flags::query_global_priority(); timeoutMultiplier = android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); skipTelemetry = base::GetBoolProperty(PROPERTY_SKIP_EGLMANAGER_TELEMETRY, Loading libs/hwui/Properties.h +0 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,6 @@ public: static bool clipSurfaceViews; static bool hdr10bitPlus; static bool skipTelemetry; static bool queryGlobalPriority; static int timeoutMultiplier; Loading libs/hwui/aconfig/hwui_flags.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -144,16 +144,6 @@ flag { bug: "299670828" } flag { name: "query_global_priority" namespace: "core_graphics" description: "Attempt to query whether the vulkan driver supports the requested global priority before queue creation." bug: "343986434" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "bitmap_ashmem_long_name" namespace: "core_graphics" Loading libs/hwui/renderthread/VulkanManager.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -381,8 +381,7 @@ void VulkanManager::setupDevice(skgpu::VulkanExtensions& grExtensions, // check if the requested priority is reported by the query bool attachGlobalPriority = false; if (uirenderer::Properties::queryGlobalPriority && globalPriorityQueryFeatures->globalPriorityQuery) { if (globalPriorityQueryFeatures->globalPriorityQuery) { for (uint32_t i = 0; i < queuePriorityProps[mGraphicsQueueIndex].priorityCount; i++) { if (queuePriorityProps[mGraphicsQueueIndex].priorities[i] == globalPriority) { attachGlobalPriority = true; Loading Loading
libs/hwui/Properties.cpp +0 −5 Original line number Diff line number Diff line Loading @@ -51,9 +51,6 @@ constexpr bool resample_gainmap_regions() { return false; } constexpr bool query_global_priority() { return false; } constexpr bool early_preload_gl_context() { return false; } Loading Loading @@ -119,7 +116,6 @@ float Properties::maxHdrHeadroomOn8bit = 5.f; // TODO: Refine this number bool Properties::clipSurfaceViews = false; bool Properties::hdr10bitPlus = false; bool Properties::skipTelemetry = false; bool Properties::queryGlobalPriority = false; int Properties::timeoutMultiplier = 1; Loading Loading @@ -195,7 +191,6 @@ bool Properties::load() { clipSurfaceViews = base::GetBoolProperty("debug.hwui.clip_surfaceviews", hwui_flags::clip_surfaceviews()); hdr10bitPlus = hwui_flags::hdr_10bit_plus(); queryGlobalPriority = hwui_flags::query_global_priority(); timeoutMultiplier = android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); skipTelemetry = base::GetBoolProperty(PROPERTY_SKIP_EGLMANAGER_TELEMETRY, Loading
libs/hwui/Properties.h +0 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,6 @@ public: static bool clipSurfaceViews; static bool hdr10bitPlus; static bool skipTelemetry; static bool queryGlobalPriority; static int timeoutMultiplier; Loading
libs/hwui/aconfig/hwui_flags.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -144,16 +144,6 @@ flag { bug: "299670828" } flag { name: "query_global_priority" namespace: "core_graphics" description: "Attempt to query whether the vulkan driver supports the requested global priority before queue creation." bug: "343986434" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "bitmap_ashmem_long_name" namespace: "core_graphics" Loading
libs/hwui/renderthread/VulkanManager.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -381,8 +381,7 @@ void VulkanManager::setupDevice(skgpu::VulkanExtensions& grExtensions, // check if the requested priority is reported by the query bool attachGlobalPriority = false; if (uirenderer::Properties::queryGlobalPriority && globalPriorityQueryFeatures->globalPriorityQuery) { if (globalPriorityQueryFeatures->globalPriorityQuery) { for (uint32_t i = 0; i < queuePriorityProps[mGraphicsQueueIndex].priorityCount; i++) { if (queuePriorityProps[mGraphicsQueueIndex].priorities[i] == globalPriority) { attachGlobalPriority = true; Loading