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 committed by tboy1991
parent 7ae4dc8425
commit 7ef6e8769f

View File

@ -289,6 +289,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