OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29cb620
)
init.sh: fallback to SwiftShader if necessary
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 27 Nov 2019 13:57:19 +0000
(21:57 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 28 Nov 2019 08:52:08 +0000
(16:52 +0800)
Use SwiftShader if HWACCEL=0 or there is no supported GPU.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
f759a1c
..
be676c3
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-198,6
+198,7
@@
function init_hal_gralloc()
;;
esac
+ [ -z "$(getprop ro.hardware.gralloc)" ] && set_property ro.hardware.egl swiftshader
[ -n "$DEBUG" ] && set_property debug.egl.trace error
}