From 4b2f7dac4c670f7a07866c360b33d2a826c8f148 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Thu, 24 Dec 2015 17:54:33 +0100 Subject: [PATCH] init.sh: enable egl trace on error in debug mode 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sh b/init.sh index 2dbe15d..219a477 100644 --- 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 -- 2.11.0