VR: Remove GVR orientation workaround and resume DisplaySynchronizer manually |
||||||
Issue descriptionGVR is considering a hotfix for b/74078759, which would interact poorly with my workaround in issue 817889 . We should instead resume the DisplaySynchronizer manually to have GVR listen for display changes.
,
Mar 13 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7f7cf4e0b43486fd153cc2922332f2eb7e89d111 commit 7f7cf4e0b43486fd153cc2922332f2eb7e89d111 Author: Michael Thiessen <mthiesse@chromium.org> Date: Tue Mar 13 14:42:06 2018 VR: Pause/Resume DisplaySynchronizer to handle device orientation Prior to GVR 1.13, the DisplaySynchronizer would start resumed, but with 1.13 this behaviour was changed. This lead to the DisplaySynchronizer not picking up orientation changes and WebVR being rotated in landscape. TBR=mthiesse@chromium.org (cherry picked from commit cd76e25bd1b55c41eb2024d20a4b7f9ea03203ea) Bug: 817889 , 818750 Change-Id: I77202d2d0d7b6feb340483e87491e2b5c1009042 Reviewed-on: https://chromium-review.googlesource.com/951642 Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Reviewed-by: Biao She <bshe@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#541154} Reviewed-on: https://chromium-review.googlesource.com/960584 Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/branch-heads/3359@{#197} Cr-Branched-From: 66afc5e5d10127546cc4b98b9117aff588b5e66b-refs/heads/master@{#540276} [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/chrome/browser/android/vr/vr_shell_gl.cc [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/device/vr/android/gvr/gvr_delegate.cc [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/device/vr/android/gvr/gvr_delegate.h [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/device/vr/android/gvr/gvr_device.cc [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/device/vr/android/gvr/gvr_device.h [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/device/vr/android/java/src/org/chromium/device/vr/NonPresentingGvrContext.java [modify] https://crrev.com/7f7cf4e0b43486fd153cc2922332f2eb7e89d111/third_party/gvr-android-sdk/display_synchronizer_jni.h
,
Mar 14 2018
,
Mar 14 2018
,
Jul 4
,
Jul 4
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by bugdroid1@chromium.org
, Mar 6 2018