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

Switch gl context during runtime #4272

Open
kaiwk opened this issue Feb 23, 2021 · 1 comment
Open

Switch gl context during runtime #4272

kaiwk opened this issue Feb 23, 2021 · 1 comment

Comments

@kaiwk
Copy link

kaiwk commented Feb 23, 2021

One can pass gleam::gl::Gl to Renderer::new , but could I switch to different gl context during runtime? For example, when render failed, I may want to fallback to using Angle on Windows.

@nical
Copy link
Contributor

nical commented Feb 23, 2021

There is no way to do this in WebRender. You will have to shut down the existing webrender instance and create new one (it is what Firefox does in this situation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants