History log of /frameworks/native/services/vr/hardware_composer/vr_composer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8fc9822f3b20f6547c3398c55e8b70c4f3940db9 10-Aug-2017 Daniel Nicoara <dnicoara@google.com> Signal display refresh when a VR_HWC client is registered

In steady state, SurfaceFlinger will not update the surfaces. If the
observer is registered after steady state, the client will not receive
any updates. This forces SurfaceFlinger to update the display surfaces

Bug: 64207223
Test: Updated unittest
Change-Id: Ied7ffcaaacec25d36dafb948489538155a0c865f
/frameworks/native/services/vr/hardware_composer/vr_composer.cpp
15561b082ff4da3121be20d55b05a074ddd15a5c 30-Jun-2017 Pat Plunkett <patplunkett@google.com> Clear callbacks when destroying DvrHwcClient

When a DvrHwcClient is destroyed, the VrComposer retains a reference to its
observer. Because registerObserver returns a non-OK status if an observer
is already registered, this was causing subsequent DvrHwcClients to not be
created.

This was an issue with the CompatibilityUiOverlay app on standalone
headsets. CompatibilityUiOverlay was destroying its DvrHwcClient when turning
the screen off, but upon turning the screen back on, CompatibilityUiOverlay
was unable to create another DvrHwcClient.

Bug: 63139142
Test: Turn the screen off/on for a standalone headset, observe
CompatibilityUiOverlay running.

Change-Id: Ie45e961d2bf977ab9a661e23c558354d3a96ae20
/frameworks/native/services/vr/hardware_composer/vr_composer.cpp
0b4c80ac82959711738af326b6781f2a8e5ca542 20-Apr-2017 Daniel Nicoara <dnicoara@google.com> Restrict VR HWC access to services with RESTRICTED_VR_ACCESS permission

Bug: 37542947
Test: Compiled
Change-Id: I0880e6a2caaf32f111ae70ba1d54f59960796287
/frameworks/native/services/vr/hardware_composer/vr_composer.cpp
aba4d01add2e961f8b24a6281f3c616f916eb92f 09-Mar-2017 Daniel Nicoara <dnicoara@google.com> VR: Add VR Hardware Composer Service

Create a separate service with serves the binderized HWComposer
implementation for VR.

Exposes a binder service which VrCore may connect in order to receive
SurfaceFlinger output.

Bug: 36051907
Test: Compiled and ran unittests
Change-Id: I16ec08d32ba0445ac982fc235e59bc3129e03096
/frameworks/native/services/vr/hardware_composer/vr_composer.cpp