History log of /frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c683dfeccb10aeee7abc9b1e496bd88581a1860c 12-Apr-2018 Steven Thomas <steventhomas@google.com> Fix vr_hwc crash when re-entering vr

An enter, exit, enter vr sequence would result in a crash in vr_hwc
because we weren't clearing the event callback pointer in
unregisterEventCallback() during the exit vr step. When we would enter
the second time we'd try to call onRefresh() on the stale pointer,
resulting in a crash.

Bug: 77498352
Test: Enter, exit, enter vr, confirmed no crash.
Change-Id: If93aaf9935844565cb99bbf7349573a8ddfff4ca
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
784ad685bce10d7443bbb7df24e086ad3a9cbff2 08-Feb-2018 rongliu <rongliu@google.com> Merge ag/3722536 from master to pi-dev.

Add dump information in vr_hwc, so that it provides
2d-VR layer information in dumpsys.

Bug: 73006422
Test: Manual test. "adb shell dumpsys SurfaceFlinger" prints out dump
information.

Change-Id: Id110c3e90004b4df8c47521e217e0c2024dcc02e
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
513476ab1802bf315d70a854512f4940a035fcf9 31-Jan-2018 Chia-I Wu <olv@google.com> fakehwc, libvr_hwc-hal: update for ComposerHal changes

removeClient and enableCallback are removed. dumpDebugInfo,
registerCallback, and unregisterCallback are added.

Test: builds
Change-Id: If366fb24b555393abe5c7bf326027c30c3ceafa4
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
d15d2d2ee3a3f990412c26cfb82d9cce1cac6aee 29-Jan-2018 Chia-I Wu <olv@google.com> fakehwc, libvr_hwc-hal: ComposerBase is moved

ComposerBase is moved to another library and is renamed to
ComposerHal.

Test: builds
Change-Id: Ie9159b9d83558587d75aa6d0ad89a1848a281d01
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
41b98d41f9f4e94a1a9a31960a317649cbec3b09 11-Dec-2017 Chia-I Wu <olv@google.com> surfaceflinger: do not check HWC2::Capability::SkipValidate

HWC2::Capability::SkipValidate is not defined in HIDL. We cannot
check against it.

Besides, presentOrValidate is equivalent to validate in HIDL when
the underlying hwcomposer2 implementation does not support the cap.
There is not need to check against it.

Bug: 70407085
Test: boots
Change-Id: Ib0c11e99ce3389ad555605de18e194d9b51b2bc0
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
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/impl/vr_hwc.h
a50abc2fbbc1ab4ac00aa5d3b41d77b24048f81b 15-May-2017 Daniel Nicoara <dnicoara@google.com> Use IVrComposerClient interface to expose the VR HWC client

Since the VR HWC implements the IVrComposerClient make sure the
implementation inherits from the correct interface.

Bug: 36564122
Test: Ran on device
Change-Id: I5481ab5505f824034944b4df34fb51ee1b86082b
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h
4251e92b6dacb5653aa9528d88484085ee333e3b 13-Apr-2017 Daniel Nicoara <dnicoara@google.com> Move VR HWC HAL impl to vr/hardware_composer and cleanup deps

VR HWC is no longer built into VR WM, but in VR HWC, so update its
location. Also cleanup dead code.

Bug: 36051907
Test: Compiled
Change-Id: I15763234fa93bf3b95b8df6461428fe65fd5f611
/frameworks/native/services/vr/hardware_composer/impl/vr_hwc.h