From 18 Jan, 2021 0:00 UTC: All services will be temporary unavailable for maintenance
  • R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

device/generic/common


Commit MetaInfo

Revisionbbdcca594852128a1f17c3765d5271ea8a16018b (tree)
Time2020-05-26 08:27:28
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Log Message

support binderized drmfb-composer with HWC=drmfb option (v2)

android.hardware.graphics.composer@2.1-service.drmfb added to PRODUCT_PACKAGES

New logic is added in init_hal_hwcomposer() function to enable drmfb-composer
if HWC=drmfb cmdline option used vendor.hwcomposer-2-1.drmfb service is started

(v2) Remove android.hardware.graphics.composer@2.1-service in PRODUCT_PACKAGES

as it was causing issues to drm_gralloc
Remove 'stop vendor.hwcomposer-2-1' in init_hal_hwcomposer()

Many thanks to lambdadroid for drmfb-composer

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>

Change Summary

Incremental Difference

--- a/init.sh
+++ b/init.sh
@@ -207,6 +207,7 @@ function init_hal_gralloc()
207207 function init_hal_hwcomposer()
208208 {
209209 # TODO
210+ [ "$HWC" = "drmfb" ] && start vendor.hwcomposer-2-1.drmfb
210211 return
211212 }
212213
--- a/treble.mk
+++ b/treble.mk
@@ -5,7 +5,8 @@ PRODUCT_PACKAGES += \
55
66 # HWComposer HAL
77 PRODUCT_PACKAGES += \
8- android.hardware.graphics.composer@2.1-impl
8+ android.hardware.graphics.composer@2.1-impl \
9+ android.hardware.graphics.composer@2.1-service.drmfb
910
1011 # Audio HAL
1112 PRODUCT_PACKAGES += \