OSDN Git Service

Keep standalone devices in VrFlinger mode.
authorCorey Tabaka <eieio@google.com>
Tue, 22 Aug 2017 18:59:15 +0000 (11:59 -0700)
committerCorey Tabaka <eieio@google.com>
Mon, 11 Sep 2017 21:41:31 +0000 (14:41 -0700)
commit7024b8f8925de0888c6c9d2fa929980c50dbc072
tree565a9cccd3716da8de08ae695a2792f7a377dd5e
parentf7e10c82b04e0f6a2a445609144612ac2f47c8a8
Keep standalone devices in VrFlinger mode.

Avoid unnecessary tear-down and bring up of HWC client in standalone
devices. This saves time during screen-on because standalone devices
only use VrFlinger mode.

Remove dead code that used to check the panel driver for missed frames.
No drivers expose the sysfs node that provided this function anymore.

Test: Manual testing. Observe stable DON/DOFF behavior.
Bug: 65248224
Change-Id: Id9ebb76982621848d97792496a09b6da8c4e5928
libs/vr/libvrflinger/hardware_composer.cpp
libs/vr/libvrflinger/hardware_composer.h