Lite XL UIs #450
Replies: 3 comments 4 replies
-
electron.js based renderer /s maybe a vulkan-based renderer? |
Beta Was this translation helpful? Give feedback.
-
Very nice topic, thank you @takase1121 for bringing this discussion.. I am personally interested in:
For opengl I mention the hard skills and the hard work because it is difficult to find people with the required skills and it is difficult to find someone willing to do the difficult work. The lite-xl SDL renderer is just about how you put your big pixel image of the whole application to the screen so that's not a big deal. It is just needed for macOS to support retina displays using SDL APIs. I like when people experiment with new ideas but please consider also using a part of your time to work on what is important to put the project forward. NanoVG is cool to thinker with, really, but the project is abandoned, libagg already provides SVG capabilities with paths of any kind and is already integrated in lite-xl. In the meantime we are still not using opengl as we should to render stuff in lite-xl. The interest I see in NanoVG is as a test bed to experiment using opengl for rendering. electron-js doesn't make a lot of sense to me because you will be bloated like vscode or atom and missing most of the things they have. It is certainly not me who will be working on this subject. What about vulkan ? well we are not even using opengl so we should first start with opengl right ? once openGL is in the transition to vulkan should be pretty straightforward I guess. Just to clarify, when talking about using opengl or vulkan it is important to make the difference about how it is used. OpenGL can be used just to put the things on the screen but you have little gain to use it if all the pixels rendering for the application window is done one the CPU. |
Beta Was this translation helpful? Give feedback.
-
Indeed, something like bgfx would make things hefty. I personally use Kinc which could replace SDL for the input and cover the cross-platform GPU accelerated rendering. For font rendering and simplifying the whole codebase I would probably use dear imgui with Kinc and expose to users the high level dear imgui calls. If this would be interesting for the project, I could dedicate some time to this. On a personal note, it would alleviate the process of helping for development as for Kinc no need to use something like meson as it offers a custom solution for project generation that's included in the git of the project itself so no need to install anything just git clone --recursive and you can't start working on the project(well if you have an IDE installed as it will generate project files for Visual Studio, codeblocks or Xcode). Just an FYI, samples of dear imgui kinc are available This would be a huge rewrite though. |
Beta Was this translation helpful? Give feedback.
-
Lite and by extension Lite XL's design meant that it's possible to implement alternate UIs. Compared to Neovim's IPC approach (which has it's own benefits), one simply need to implement
renderer
module to create an alternative backend.Examples:
Ideas worth investigating
Maybe someone else would have more ideas about this.
Beta Was this translation helpful? Give feedback.
All reactions