Workaround broken OpenGL ES on old Snapdragon devices

Thanks @XavierWrz
This commit is contained in:
Pierre-Hugues Husson 2019-12-08 17:09:40 +01:00
parent aca36f1b1c
commit 060b3f9954

View File

@ -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