Skip to content

WebGL Instance, Adapter, Device, and Surface Creation Issue #1736

Answered by zicklag
zicklag asked this question in Q&A
Discussion options

You must be logged in to vote

@cart If this isn't worth your time yet, feel free to ignore, but I'd like to get your feedback, if possible, on what you think about needing to create a surface before enumerating adapters when targeting web. If I understood correctly, that's now how Bevy works today, and I didn't look deeply into how hard it would be to make bevy do that.

Do you think that would be a consideration? @kvark also mentioned above that it would probably be best to create the surface first anyway to make sure that the adapter you choose is able to present to the surface.

If it's something we want to do I'm fine trying to do what's necessary on the Bevy side to get it working.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@zicklag
Comment options

Comment options

You must be logged in to vote
2 replies
@cart
Comment options

@zicklag
Comment options

Answer selected by zicklag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants