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

XRView.isFirstPersonObserver is always false in Chromiums #11809

Merged
merged 2 commits into from
Nov 3, 2021

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Jul 29, 2021

@dominiccooney mentioned this in mdn/content#7276 (comment)
See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/xr/xr_view.h;l=47

I'm not sure if Samsung Internet implements this. Assuming no for now, but cc @AdaRoseCannon.

Also, I guess we can argue if we should set the partial implementation flag to true here (making the table cell rendered yellow).

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 29, 2021
@Elchi3 Elchi3 force-pushed the xrview-ifpo-false branch from 7946e1d to 2a561a8 Compare July 29, 2021 08:43
@AdaRoseCannon
Copy link
Contributor

Looking at the spec the observer views are for Secondary Views rendered such that they can be displayed in 2D for a 3rd party. Such as on a near by computer computer monitor or shared with someone.

I'm not sure Samsung Internet supports rendering to a secondary view it is not something I've tried but I thought it was a feature implemented on headset based experiences.

https://immersive-web.github.io/webxr-ar-module/#first-person-observer-view

@Elchi3
Copy link
Member Author

Elchi3 commented Aug 2, 2021

Thanks Ada, I think a note like proposed in this PR seems enough then. It is just a heads-up to folks looking into this and always getting back false values.

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
@Elchi3 Elchi3 requested a review from ddbeck November 3, 2021 13:40
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you! 🎉

@ddbeck ddbeck merged commit fe03923 into mdn:main Nov 3, 2021
@Elchi3 Elchi3 deleted the xrview-ifpo-false branch November 3, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants