Skip to content

how to support opengl bakend? #7

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

Open
Joyzen opened this issue Jun 18, 2023 · 2 comments
Open

how to support opengl bakend? #7

Joyzen opened this issue Jun 18, 2023 · 2 comments

Comments

@Joyzen
Copy link

Joyzen commented Jun 18, 2023

I'm using WSL2 Ubuntu on windows11 which can't support vulkan api so far!
I tried to disable vulkan and enable opengl options,but it seems useless.

@samdauwe
Copy link
Owner

Hi Joyzen,

I did not try to get the examples working with an OpenGL backend, at the moment only Vulkan backend is supported.

To support OpenGL backend you could try the following steps.

  1. Try the Google Dawn examples on WSL2 Ubuntu on windows11, the examples should support the OpenGL backend.
  2. The Vulkan code in this project is based on the example code of the Google Dawn examples, so you could try adding a new OpenGL backend in the wgpu-native lib. based on the Google Dawn example code.

Hope it helps.
Sam

@Joyzen
Copy link
Author

Joyzen commented Jun 18, 2023

@samdauwe thank you so much for your careful advice.I'm really appreciate your idea and working on this project.
I am a web programmer but I'm very interested in google's Dawn which could bring WebGPU across the Web to the native.And I will continue to find how to make this available on WSL2 Ubuntu.

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

No branches or pull requests

2 participants