Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly spec when inline animation frame loops are suspended #1115

Open
alcooper91 opened this issue Aug 13, 2020 · 1 comment
Open

Explicitly spec when inline animation frame loops are suspended #1115

alcooper91 opened this issue Aug 13, 2020 · 1 comment
Labels
help wanted This is a good issue for anyone to pick up and work on filing a PR for.
Milestone

Comments

@alcooper91
Copy link
Contributor

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.

@Manishearth Manishearth added this to the Pre-REC milestone Aug 14, 2020
@Manishearth Manishearth added the help wanted This is a good issue for anyone to pick up and work on filing a PR for. label Aug 14, 2020
@Manishearth
Copy link
Contributor

This makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted This is a good issue for anyone to pick up and work on filing a PR for.
Projects
None yet
Development

No branches or pull requests

2 participants