Workaround broken OpenGL ES on old Snapdragon devices
Thanks @XavierWrz
This commit is contained in:
parent
aca36f1b1c
commit
060b3f9954
@ -280,6 +280,9 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
|
|||||||
|
|
||||||
setprop debug.hwui.renderer opengl
|
setprop debug.hwui.renderer opengl
|
||||||
setprop ro.skia.ignore_swizzle true
|
setprop ro.skia.ignore_swizzle true
|
||||||
|
if [ "$vndk" = 26 ] || [ "$vndk" = 27 ];then
|
||||||
|
setprop debug.hwui.profile true
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#If we have both Samsung and AOSP power hal, take Samsung's
|
#If we have both Samsung and AOSP power hal, take Samsung's
|
||||||
|
Loading…
Reference in New Issue
Block a user