• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

Revision2b82b219e6218445ba2eabcad3192a11e5fd57fb (tree)
Time2017-07-18 18:14:07
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Enable gralloc.gbm + hwcomposer.drm for virgl

Change Summary

Incremental Difference

--- a/gpu/gpu_mesa.mk
+++ b/gpu/gpu_mesa.mk
@@ -9,7 +9,9 @@
99 #
1010
1111 PRODUCT_PACKAGES := \
12+ hwcomposer.drm \
1213 gralloc.drm \
14+ gralloc.gbm \
1315 libGLES_mesa \
1416 libtxc_dxtn \
1517
--- a/init.sh
+++ b/init.sh
@@ -132,8 +132,9 @@ function init_hal_gralloc()
132132 {
133133 case "$(cat /proc/fb | head -1)" in
134134 *virtiodrmfb)
135-# set_property ro.hardware.hwcomposer drm
136- ;&
135+ set_property ro.hardware.hwcomposer drm
136+ set_property ro.hardware.gralloc gbm
137+ ;;
137138 0*inteldrmfb|0*radeondrmfb|0*nouveaufb|0*svgadrmfb|0*amdgpudrmfb)
138139 set_property ro.hardware.gralloc drm
139140 set_drm_mode