Revert "Update WMR display info when starting session"
This reverts commit e475b274. Reason for revert: crbug.com/1006453 Original change's description: > Update WMR display info when starting session > > I3491d43245bb53100212fd2d0ab38d8f1222e7c9 addresses the issue where the > render width/height is not initially sent back to the render process. > This is accomlpished by updating the display info when the session starts > instead of on the first render frame. > > A subsequent change, I4cf2ab2ed6455963b1f43f8717941e7a0368416a, wraps > this update around the visibility state. Since the visibility state is > initially hidden, the display info isn't updated resulting in > WebVR/WebXR pages using the wrong resolution > > This change explicitly updates the display info and sends it back to the > MixedRealityDevice when the session starts. > > Change-Id: Ifb4516b36203139038aa943d68e8c3ba717003f3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810303 > Commit-Queue: Patrick To <patrto@microsoft.com> > Reviewed-by: Alexander Cooper <alcooper@chromium.org> > Cr-Commit-Position: refs/heads/master@{#698172} TBR=patrto@microsoft.com,alcooper@chromium.org BUG=1006453 # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I07f54396d2835532b305955c7531490d2cae4ef4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1817294Reviewed-by:Zhenyao Mo <zmo@chromium.org> Commit-Queue: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#698718}
Showing
Please register or sign in to comment