Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-drmfb-composer: Commit

external/drmfb-composer


Commit MetaInfo

Revisioncd139340fde5708dc1a93c6a312bf1e45360eaf3 (tree)
Time2020-05-16 18:49:58
AuthorMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Log Message

Merge remote-tracking branch 'goffioul/master'

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -38,6 +38,7 @@ LOCAL_SHARED_LIBRARIES := \
3838 libutils \
3939 android.hardware.graphics.common@1.0 \
4040 android.hardware.graphics.mapper@2.0 \
41+ android.hardware.graphics.mapper@3.0 \
4142 android.hardware.graphics.composer@2.1
4243
4344 ifeq ($(strip $(BOARD_USES_MINIGBM)), true)
--- a/DrmDisplay.cpp
+++ b/DrmDisplay.cpp
@@ -281,9 +281,7 @@ void DrmDisplay::disable() {
281281
282282 void DrmDisplay::enableVsync() {
283283 mVsyncEnabled = true;
284- if (mModeSet) {
285- mVsyncThread.enable();
286- }
284+ mVsyncThread.enable();
287285 }
288286
289287 void DrmDisplay::disableVsync() {
@@ -316,8 +314,6 @@ void DrmDisplay::present(buffer_handle_t buffer) {
316314 << " for display " << *this;
317315 } else {
318316 mModeSet = true;
319- if (mVsyncEnabled)
320- mVsyncThread.enable();
321317 }
322318 }
323319 }
--- a/android.hardware.graphics.composer@2.1-service.drmfb.rc
+++ b/android.hardware.graphics.composer@2.1-service.drmfb.rc
@@ -2,7 +2,7 @@ service vendor.hwcomposer-2-1.drmfb /vendor/bin/hw/android.hardware.graphics.com
22 class hal animation
33 user system
44 group graphics drmrpc
5- capabilities SYS_NICE
5+ capabilities SYS_NICE NET_ADMIN
66 onrestart restart surfaceflinger
77 writepid /dev/cpuset/system-background/tasks
88 disabled
Show on old repository browser