Skip to content

Explicitly spec when inline animation frame loops are suspended #1115

Description

@alcooper91

It is implied in the Example at the end of https://immersive-web.github.io/webxr/#animation-frames that "inline" animation frame loops should be suspended while there is an active immersive session:

Applications which use "inline" sessions for rendering to the HTML document do not need to take any special steps to coordinate the animation loops, since the user agent will automatically suspend the animation loops of any "inline" sessions while an immersive session is active.

However, there is no clear spec text around exactly when this should happen.

The most reasonable approach for re-starting the inline session would be after the page has been notified that the immersive session has ended (as a page may want to request a new inline session at such time), and likely the page should stop servicing inline session animation frames once it receives updated inline viewer data and there is an active immersive session.

Activity

  1. added this to the Pre-REC milestone on Aug 14, 2020
  2. added
    help wantedThis is a good issue for anyone to pick up and work on filing a PR for.
    on Aug 14, 2020
  3. Manishearth commented on Aug 14, 2020

    @Manishearth
    Contributor

    This makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedThis is a good issue for anyone to pick up and work on filing a PR for.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions