3 ms·
No, SDL provides a window/context in the existing windowing layer.
by incanus77 2y ago
No, SDL provides a window/context in the existing windowing layer.
- jpc0 2y agoSDL 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_MASTER https://wiki.libsdl.org/SDL2/SDL_HINT_KMSDRM_REQUIRE_DRM_MAS...
- incanus77 2y agoThank you, I stand corrected! I had used it in the windowing sense and didn’t recall the other option!
- bregma 2y agoSDL can provide a context in the native windowing system, if you ask it to. Or not. You have to ask for it though, it's not the default.
- synergy20 2y agoI think sdl works directly with fb when using fb as a backend,no windows system is needed