https://blend2d.com 2D library instead of SDL2 #6
Closed
Robert-M-Muench
started this conversation in
Ideas
Replies: 1 comment
-
I chose SDL because it's very common and it also has bindings for audio. You can see the primitives for the APIs exposed here: https://github.com/maximecb/uvm/blob/main/doc/syscalls.md#window I've tried to design those APIs in a way that they don't "leak" SDL-specific details, which makes it possible to yank out SDL later if needed, and replace it with X11/ALSA or something else. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Adding 2D/framebuffer graphics right from the start is the strategically right decision to attract people.
Maybe you want to take a look at https://blend2d.com, which is a superior 2D library. But it might not fulfill your needs to be portable to everything requirement. However, the frame buffer component is central and should be chosen wisely.
Of course, keeping the integration and coupling as loose as possible to keep flexibility should be the goal.
Beta Was this translation helpful? Give feedback.
All reactions