From 060b3f9954e17900aff0a74179ffc82731ed48bf Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 8 Dec 2019 17:09:40 +0100 Subject: [PATCH] Workaround broken OpenGL ES on old Snapdragon devices Thanks @XavierWrz --- rw-system.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index ad95ba4..be07674 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -280,6 +280,9 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so || setprop debug.hwui.renderer opengl setprop ro.skia.ignore_swizzle true + if [ "$vndk" = 26 ] || [ "$vndk" = 27 ];then + setprop debug.hwui.profile true + fi fi #If we have both Samsung and AOSP power hal, take Samsung's