SDL2X11Emulation
gfxprim
SDL2X11Emulation | gfxprim | |
---|---|---|
1 | 1 | |
14 | 44 | |
- | - | |
0.0 | 9.0 | |
9 months ago | 12 days ago | |
C | C | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
SDL2X11Emulation
-
Show HN: Xlibe: a serverless Xlib (X11) compatibility layer for Haiku
They are. More than just the drawing routines, quite literally the entire thing directly invokes Be APIs. For instance XQueryPointer just calls directly into the Interface Kit to get the present mouse position, or XSetWMProperties directly modifies the Haiku-native window state, title, etc.
However, that being said, if you wanted to do something similar or equivalent on some other platform, you could probably copy quite a lot of the structure, and then delete the actual implementation and replace it with your own. I restructured things a bunch in the early phases of working on this, and there's a lot of boilerplate code (e.g. macros.c, large parts of the event dispatcher) which you could reuse verbatim; though it's mixed in with the non-boilerplate code.
There were some other projects I ran into that looked like they were more generic, e.g. https://github.com/Abestanis/SDL2X11Emulation (also check the forks of that -- though I'm one of them, I experimented with it a bit before starting on this thing; but it's very incomplete and SDL2 really isn't designed for this), but none anywhere near as advanced as this is now.
gfxprim
What are some alternatives?
xlibe - An Xlib compatibility layer implemented on top of the Haiku API, in order to run X11 applications on Haiku without an X server.
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
Phoenix - Peace of mind from prototype to production
tfblib - A Tiny Linux Framebuffer Library
plutonem - A C, C++, Rust and COBOL library to draw graphics with pixels in the terminal
microwindows - The Nano-X Window System
azpainter - Full color painting software for Unix-like systems for illustration drawing. This is un-official little fixed repository for package maintainers of image editor AzPainter (based on "mlib" toolkit). Official repository - http://azsky2.html.xdomain.jp/soft/azpainter.html
libvips - A fast image processing library with low memory needs.
omxiv - OpenMax image viewer for the Raspberry Pi
fbff - A small ffmpeg-based framebuffer media player
Spiromorph - A mesmerizing morphing spirograph using SDL2
GD - GD Graphics Library