Allows to select hardware composers using the values {drm,drm_minigbm,intel}
in conjuction with respective GRALLOC {gbm,minigbm,intel}
The default is hwcomposer disabled, with ro.hardware.hwcomposer not set,
based on the assumption that hwcomposer. module does not exist
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
;;
0*i915drmfb|0*inteldrmfb|0*radeondrmfb|0*nouveau*|0*svgadrmfb|0*amdgpudrmfb)
if [ "$HWACCEL" != "0" ]; then
+ set_property ro.hardware.hwcomposer ${HWC:-}
set_property ro.hardware.gralloc ${GRALLOC:-drm}
set_drm_mode
fi