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

Generate bindings for the OVR_multiview2 webgl extension #2903

Merged
merged 1 commit into from
May 20, 2022

Conversation

expenses
Copy link
Contributor

@alexcrichton
Copy link
Contributor

To confirm, is this a supported web api in browsers? Or is it an experimental feature that's not enabled everywhere yet? (if the latter this'll need to go into the unstable directory)

@expenses
Copy link
Contributor Author

To confirm, is this a supported web api in browsers?

Yep! To quote gfx-rs/naga#1933:

The WebGL OVR_multiview2 extension is implemented in:

  • Chrome on Windows, Linux and Android
  • Firefox on Android

but NOT on Firefox on Linux afaik.

As reported by https://webglreport.com/?v=2

@alexcrichton
Copy link
Contributor

Ok sounds good, thanks!

@alexcrichton alexcrichton merged commit 63872ee into rustwasm:main May 20, 2022
@expenses expenses deleted the multiview branch May 20, 2022 17:22
@expenses expenses restored the multiview branch May 25, 2022 20:22
bors bot added a commit to grovesNL/glow that referenced this pull request Jul 15, 2022
220: Add a `framebuffer_texture_multiview_ovr` function to the web-sys context r=grovesNL a=expenses

Required for multiview rendering. See also: gfx-rs/naga#1933 and rustwasm/wasm-bindgen#2903.

Registry link: https://www.khronos.org/registry/webgl/extensions/OVR_multiview2/
MDN link: https://developer.mozilla.org/en-US/docs/Web/API/OVR_multiview2

~~Blocked until a new wasm-bindgen release.~~

Co-authored-by: Ashley Ruglys <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants