OSDN Git Service

Clean up handling of VR surface updates.
authorCorey Tabaka <eieio@google.com>
Fri, 1 Sep 2017 03:01:15 +0000 (20:01 -0700)
committerCorey Tabaka <eieio@google.com>
Fri, 1 Sep 2017 23:52:00 +0000 (16:52 -0700)
commit2c4aea369d9ec77e98c6b9c08e6feb25fc5a20d2
tree6f33d84acb281e7231991913b891f91ed825275a
parent1e35190fc711256b867ca2bb17b2ff69eb9f072c
Clean up handling of VR surface updates.

- Fix bug where adding a new hardware layer causes existing single-
  buffered surface layers to unlatch their buffer.
- Rename variables holding Composer pointers from hidl to composer
  to improve readability.
- Remove the arbitrary hardware layer limit, moving responsibility
  for efficient use of hardware layers to the VR display manager.

Bug: 64987282
Bug: 64756801
Test: Build system for multiple devices and manually test operation.
Change-Id: I8f05ca83830f62e15b18cd52df3014432c887681
libs/vr/libvrflinger/display_service.cpp
libs/vr/libvrflinger/hardware_composer.cpp
libs/vr/libvrflinger/hardware_composer.h