zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.9k stars 2.82k forks source link

Render to opengl #13305

Open developerSWe4b opened 3 months ago

developerSWe4b commented 3 months ago

Check for existing issues

Describe the feature

My machine could not able to run the zed because of vulkan drivers error, i would suggest that adding opengl would work fine on my machine and other

If applicable, add mockups / screenshots to help present your vision of the feature

g

someone13574 commented 3 months ago

There is an open PR (#13114) which fixes OpenGL rendering. Once it is merged you can compile with RUSTFLAGS="--cfg gles". Adding a fallback mode would need to be done in blade.

lukaslihotzki commented 3 months ago

Blade's part of the fallback mode is tracked in https://github.com/kvark/blade/issues/130. The macOS renderer does not use blade, so support for non-Metal macs is a separate issue.