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

web-sys: include VideoFrame in webgl texImage* functions #3077

Merged
merged 1 commit into from Sep 12, 2022

Conversation

jawadsh123
Copy link
Contributor

VideoFrame is now a TexImageSource
updating webgl IDLs to reflect

@alexcrichton alexcrichton merged commit 893812f into rustwasm:main Sep 12, 2022
@jawadsh123 jawadsh123 deleted the teximage2d-videoframe branch September 18, 2022 13:04
bors bot added a commit to grovesNL/glow that referenced this pull request Sep 20, 2022
227: [web] add tex_image_* fns for VideoFrame r=grovesNL a=jawadsh123

Hey 👋 
texImage* bindings for VideoFrame were recently merged into web-sys (rustwasm/wasm-bindgen#3077)
this PR allows using them on web through glow

gated them behind `web_sys_unstable_apis`, since VideoFrame is [unstable in web-sys](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.VideoFrame.html)

Co-authored-by: Jawad Shaikh <shaikhjawad007@gmail.com>
bors bot added a commit to grovesNL/glow that referenced this pull request Sep 20, 2022
227: [web] add tex_image_* fns for VideoFrame r=grovesNL a=jawadsh123

Hey 👋 
texImage* bindings for VideoFrame were recently merged into web-sys (rustwasm/wasm-bindgen#3077)
this PR allows using them on web through glow

gated them behind `web_sys_unstable_apis`, since VideoFrame is [unstable in web-sys](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.VideoFrame.html)

Co-authored-by: Jawad Shaikh <shaikhjawad007@gmail.com>
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.

None yet

2 participants