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

Pure GL context #2344

Closed
kvark opened this issue Jan 2, 2022 · 1 comment · Fixed by #2350
Closed

Pure GL context #2344

kvark opened this issue Jan 2, 2022 · 1 comment · Fixed by #2350
Labels
area: api Issues related to API surface type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Jan 2, 2022

Is your feature request related to a problem? Please describe.
Sometimes we want to integrate wgpu into a system that already created the window and GL context, and we want to draw something using wgpu's GLES context in addition to other stuff. In this case, EGL isn't involved.

Describe the solution you'd like
Some sort of constructor for GLES adapter, used in conjunction with create_adapter_from_raw.
This also means working without any Instance, and without any EGL involved.
Would be great to make it not a compile time feature.

Describe alternatives you've considered
Separate cargo feature for "raw" mode.

Additional context
required for kvark/vange-rs#172

@kvark kvark added type: enhancement New feature or request area: api Issues related to API surface labels Jan 2, 2022
@caiiiycuk
Copy link
Contributor

This also can be used with emscripten target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants