From d003e2801be43e1b404fb513bbbf6fcc5e4ed776 Mon Sep 17 00:00:00 2001 From: Jyotiraditya Date: Thu, 11 Mar 2021 09:35:28 +0100 Subject: [PATCH] universal7885: Enable config_avoidGfxAccel - This flag turns off GPU/CPU intensive UI effects and reduces the RAM footprint. - Using this is a better compromise than the 'low_ram' flag as this does not disable features in the rom but still reduces RAM usage and gives better smoothness in the UI. [ roynatech2544 : RAM usage decreased by 15% with this prop on 3GB RAM device ] Signed-off-by: Chuck439 Signed-off-by: AkaruiAikara --- universal7885-common/vendor.prop | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/universal7885-common/vendor.prop b/universal7885-common/vendor.prop index 4299d65..3871de8 100644 --- a/universal7885-common/vendor.prop +++ b/universal7885-common/vendor.prop @@ -13,10 +13,13 @@ ro.vendor.cscsupported=1 ## OpenGLES ro.opengles.version=196610 -## Graphics +## HW Graphics debug.egl.hw=0 debug.sf.hw=0 +## Low ram device +ro.config.avoid_gfx_accel=true + ### Vulkan ro.hwui.use_vulkan=true graphics.gpu.profiler.support=true