←back to thread

Hands-On Graphics Without X11

(blogsystem5.substack.com)
166 points ingve | 2 comments | | HN request time: 0.002s | source
Show context
synergy20 ◴[] No.42745370[source]
i think that's what sdl provides? except sdl can do more
replies(1): >>42745726 #
incanus77 ◴[] No.42745726[source]
No, SDL provides a window/context in the existing windowing layer.
replies(3): >>42746778 #>>42747583 #>>42748084 #
1. jpc0 ◴[] No.42746778[source]
SDL does not need a windowing layer... There might be better docs somewhere but this should act as enough proof for you without linking directly to the source code.

https://wiki.libsdl.org/SDL2/SDL_HINT_KMSDRM_REQUIRE_DRM_MAS...

replies(1): >>42754042 #
2. incanus77 ◴[] No.42754042[source]
Thank you, I stand corrected! I had used it in the windowing sense and didn’t recall the other option!