Workaround broken OpenGL ES on old Snapdragon devices
Thanks @XavierWrz
This commit is contained in:
parent
7ae4dc8425
commit
7ef6e8769f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user