• Klaus Weidner's avatar
    WebXR: Use a head pose for GVR controller updates · d3e9434c
    Klaus Weidner authored
    GVR's built-in elbow model for the 3DoF controller requires a head pose to
    calculate an estimated torso rotation and the elbow angles derived from that.
    Passing this through needed some restructuring of the SendVSync logic to handle
    asynchronous updates while avoiding duplicate pose calculations.
    
    This also fixes the stuck-in-place controller on Lenovo Mirage, a 6DoF headset
    with a 3DoF controller.
    
    Bug: 968193
    Change-Id: I14e95299a1e8134b1755a6ca14459b710f598c1c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636830Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
    Commit-Queue: Klaus Weidner <klausw@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#664646}
    d3e9434c
gvr_scheduler_delegate.h 9.79 KB