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:
74b32cb
)
init.sh: enable egl trace on error in debug mode
author
Mauro Rossi
<issor.oruam@gmail.com>
Thu, 24 Dec 2015 16:54:33 +0000
(17:54 +0100)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 5 May 2016 18:17:12 +0000
(
02:17
+0800)
The change enables egl trace on error by setting property debug.egl.trace error,
based on definition of any string in DEBUG variable.
Tested with marshmallow-x86 and applicable also to lollipop-x86.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
2dbe15d
..
219a477
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-120,6
+120,7
@@
function init_hal_gralloc()
0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb)
set_property ro.hardware.gralloc drm
set_drm_mode
+ [ -n "$DEBUG" ] && set_property debug.egl.trace error
;;
"")
init_uvesafb