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

Exposing WebGPU API to extension ServiceWorker #411

Closed
MiguelsPizza opened this issue Jun 26, 2023 · 3 comments
Closed

Exposing WebGPU API to extension ServiceWorker #411

MiguelsPizza opened this issue Jun 26, 2023 · 3 comments
Labels
supportive: chrome Supportive from Chrome supportive: firefox Supportive from Firefox supportive: safari Supportive from Safari

Comments

@MiguelsPizza
Copy link

Would be nice to have and I can't think of any reason not to expose WebGPU to a service worker considering Webgl is accessible.

It's only exposed to the Window and DedicatedWorkers at the moment. Reference: https://gpuweb.github.io/gpuweb/#navigator-gpu
[Exposed=(Window, DedicatedWorker), SecureContext]

@patrickkettner
Copy link
Contributor

talked to eng for us. Chrome is supportive, but would likely just inherit it if/once it is enabled in web service workers.

@MiguelsPizza
Copy link
Author

talked to eng for us. Chrome is supportive, but would likely just inherit it if/once it is enabled in web service workers.

Thanks Patrick. I opened another issue for that here

@Rob--W
Copy link
Member

Rob--W commented Jul 6, 2023

Consensus is that we'd be supportive of this, but that this is something that should happen on the web platform.

As we don't anticipate further discussion here, I'm closing the issue. If needed it can be re-opened later.

@Rob--W Rob--W closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
supportive: chrome Supportive from Chrome supportive: firefox Supportive from Firefox supportive: safari Supportive from Safari
Projects
None yet
Development

No branches or pull requests

3 participants