commit | c91b325688c9916c4ff26714121dbfa7f5fe1613 | [log] [tgz] |
---|---|---|
author | Klaus Weidner <klausw@chromium.org> | Tue Apr 10 00:13:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 10 00:13:45 2018 |
tree | d95491b3063cee0728cda6d13fde661ef47476ff | |
parent | ca8a55f3352428e30601a7de3221b14ac65e0e31 [diff] |
Replace WebVR pose ring buffer with XrPresentationState The [frame_index % kPoseRingBufferSize] ring buffer indexing used in various places was confusing. Now that we've changed the semantics to ensure that we never have more than one frame in each state (animating, processing, rendering), make this explicit by using a WebXrFrame struct to store the per-frame lifecycle data, and WebXrPresentationState to handle the lifecycle. Change-Id: Ieccea90764f481ed8108bc9964dfd7fbd3cf883b Reviewed-on: https://chromium-review.googlesource.com/985649 Commit-Queue: Klaus Weidner <klausw@chromium.org> Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Reviewed-by: Bill Orr <billorr@chromium.org> Cr-Commit-Position: refs/heads/master@{#549334}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .