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

UA-driven presentation without user gesture. #165

Closed
mthiesse opened this issue Dec 17, 2016 · 3 comments
Closed

UA-driven presentation without user gesture. #165

mthiesse opened this issue Dec 17, 2016 · 3 comments
Labels
feature request Request for a new feature
Milestone

Comments

@mthiesse
Copy link

It would be really nice to specify something like a delayed present request (not requiring a user-gesture), where the UA decides when to respond and trigger presentation. The expectation is that the UA would not immediately grant or deny the request, but wait for some platform-specific event to respond.

Generally this is useful for reducing round-trips where the UA fires onvrdisplayactivate, and sites call requestPresent in response (instead of requesting, they would immediately begin presenting). In chromium for Daydream platforms in particular, the UA would like to know when the chromium app resumes whether or not it can display VR content, or whether it should tell the user to take off their headset. If the current site has registered this delayed present request, the UA would know that it can tell the page to start displaying VR content at will. Other platforms might benefit similarly.

@cvan
Copy link
Contributor

cvan commented Dec 18, 2016

Thanks for filing. This is covered in #30, #164, and other issues. I have a few interface changes to propose; I'll open a PR soonish. There's also #152 (which @toji started initially in #116).

@ddorwin ddorwin added this to the 2.0 milestone Jun 23, 2017
@ddorwin ddorwin added the feature request Request for a new feature label Jun 23, 2017
@cvan
Copy link
Contributor

cvan commented Mar 6, 2018

@toji: is this handled by the proposed WebXR Input model?

@NellWaliczek
Copy link
Member

Closing old WebVR issue. Could potentially still be an issue with WebXR, but we believe this is probably mitigated by XRInput being a user gesture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

5 participants