emacs-gl
OpenGL bindings for Emacs Lisp (by Jimx-)
glutin
A low-level library for OpenGL context creation, written in pure Rust. (by rust-windowing)
emacs-gl | glutin | |
---|---|---|
7 | 8 | |
108 | 1,936 | |
- | 0.6% | |
1.0 | 7.1 | |
about 1 year ago | 16 days ago | |
C | Rust | |
GNU General Public License v3.0 only | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
emacs-gl
Posts with mentions or reviews of emacs-gl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-01.
-
Emacs GPU rendering
By the way, why only for pgtk? It would be nice to have it without pgtk or xwidgets (OpenGL was avaialable via xwidgets since quite some time, as a plugin).
-
Initial Thoughts On A New Productivity Tool
If you need some 3D viz, there is also an Emacs binding to OpenGL. I believe it works only on X11, but I am not sure.
-
Emacs WebRender front(window system)
Webrender is using openGL. There are existing work out there regarding this. https://github.com/Jimx-/emacs-gl . But I would prefer WebGPU API over opengl's if I want to do computer graphics.
-
Render interactive graphic in emacs buffer?
There is also a module to do OpenGL. You will have to compile the module yourself, but it shouldn't be too hard. No idea though how well, if at all, it works on macos.
-
plotting tools to use in emacs-lisp code
Generally, librsvg (svg.el), is your best option to start with graphing in Emacs. Alternatively, if you are really ambitious you could take a look at Emacs-gl if you are familiar with OpenGL. Those are your drawing library. On top of them you will have to create some higher level library to draw charts, you could either adapt/convert one existing from some of other projects, for example there are several popular and good libraries for javascript that could probably work well with svg renderer. Perhaps take a look at some of Common Lisp charting libraries and see if you can make them work on top of svg.el or emacs-gl. For example, cl-2d seems quite reasonable to port to Emacs Lisp.
- OpenGL Bindings for Emacs Lisp
- emacs-gl: OpenGL bindings for Emacs Lisp
glutin
Posts with mentions or reviews of glutin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-01.
- glutin: A low-level library for OpenGL context creation, written in pure Rust.
-
Emacs GPU rendering
Yeah, render Emacs via GPU. We get underlined display server opengl context using surfman or glutin. Since PGTK is gtk, we are using gl_area. Replaced the Cairo drawing with this Firefox's Webrender. Using this, you can except some improvements to rendering. However, I dont know how to do benchmarks regarding GUI rendering.
- glutin 0.30.0 released with major rewrite decoupling from winit
-
GameRoy: a cross platform and highly accurate Game Boy emulator
But I think this will be solved when I switch back the GL context creation to glutin (thankfully, version 0.30 will decouple from windows creation), and I rewrite sprite-render.
-
Hide mouse cursor in piston?
Hello, I'm a beginner rust dev trying to make a simple thingy in piston. I've got a picture to follow the mouse cursor, but when I try to hide the cursor with window.set_capture_cursor(true) , it seems like mouse events seize to exist. I found this bug report Mouse Grabbing and MouseMoved Event · Issue #696 · rust-windowing/glutin (github.com) , but that was resolved years ago. I'm using pistoncore-glutin_window = "0.70.1". Am I doing something wrong? If not, is there any other easy way to hide the cursor?
-
Learn OpenGL with Rust: creating a window
Luckily, there are quite a few libraries out there that provide this functionality, some of them specifically aimed at OpenGL. Those libraries save us all the operation-system specific work and give us a window and an OpenGL context to render in. One of those libraries is glutin. It allows us to create an OpenGL context, define window parameters, and handle user input, which is plenty enough for our purposes.
-
chocho install neovide || neovide , doesnt start , a window pops up for 1 second and then it closes out and nothing happens
Yeah this is a known issue in VMs https://github.com/rust-windowing/glutin/blob/master/ISSUES.md but I haven't found a way to fix it. It does not even work with llvmpipe mesa, which provides the newest OpenGL drivers.
- GitHub - hecrj/iced: A cross-platform GUI library for Rust, inspired by Elm
What are some alternatives?
When comparing emacs-gl and glutin you can also consider the following projects:
expenses - Recording and viewing expenses using Emacs
glium - Safe OpenGL wrapper for the Rust language.
emacs-application-framework - EAF, an extensible framework that revolutionizes the graphical capabilities of Emacs
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
surfman - Accelerated offscreen graphics for WebGL
kiss3d - Keep it simple, stupid 3d graphics engine for Rust.
el-easydraw - Embedded drawing tool for Emacs
iced - A cross-platform GUI library for Rust, inspired by Elm
emacs-svg-icon - An emacs library to create SVG icons on the fly
SameBoy - Game Boy and Game Boy Color emulator written in C
svg-lib - Emacs SVG libraries for creatings tags, icons and bars