Ignore swizzle to fix crash on Oreo PowerVR devices

This commit is contained in:
Pierre-Hugues Husson 2019-10-22 15:26:22 +02:00 committed by tboy1991
parent fec86428d8
commit eeb6d035a9

View File

@ -277,6 +277,7 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
( (getprop ro.product.board; getprop ro.board.platform) | grep -qiE -e msm8917 -e msm8937 -e msm8940); then
setprop debug.hwui.renderer opengl
setprop ro.skia.ignore_swizzle true
fi
#If we have both Samsung and AOSP power hal, take Samsung's