I recently swapped to an OpenGL backend away from the vulkan one with the hope that it would increase linux compatibility. However it seems that some folks are having issues.
I don't have the tools or know-how required to fix these problems on my own.
The opengl binding is handled via https://github.com/rust-windowing/glutin and is done here: https://github.com/Kethku/neovide/blob/main/src/window/window_wrapper/renderer.rs which was based in part on alacritty's implementation https://github.com/alacritty/alacritty/tree/master/alacritty/src/display and the sample in skia-safe https://github.com/rust-skia/rust-skia/blob/master/skia-safe/examples/gl-window/main.rs.
If anybody is able to synthesize something that works more consistently that would be amazing.
NOTE: I reverted the main change as it wasn't ready for prime time like I thought. The code is currently held in the OpenGL branch
I recently swapped to an OpenGL backend away from the vulkan one with the hope that it would increase linux compatibility. However it seems that some folks are having issues.
I don't have the tools or know-how required to fix these problems on my own.
The opengl binding is handled via https://github.com/rust-windowing/glutin and is done here: https://github.com/Kethku/neovide/blob/main/src/window/window_wrapper/renderer.rs which was based in part on alacritty's implementation https://github.com/alacritty/alacritty/tree/master/alacritty/src/display and the sample in skia-safe https://github.com/rust-skia/rust-skia/blob/master/skia-safe/examples/gl-window/main.rs.
If anybody is able to synthesize something that works more consistently that would be amazing.
NOTE: I reverted the main change as it wasn't ready for prime time like I thought. The code is currently held in the OpenGL branch