/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
Popular/hot comments
>>42745726
#
←back to thread
Hands-On Graphics Without X11
(blogsystem5.substack.com)
166 points
ingve
| 6 comments |
17 Jan 25 17:54 UTC
|
HN request time: 1.699s
|
source
|
bottom
1.
synergy20
◴[
18 Jan 25 02:50 UTC
]
No.
42745370
[source]
▶
>>42741155 (OP)
#
i think that's what sdl provides? except sdl can do more
replies(1):
>>42745726
#
ID:
GO
2.
incanus77
◴[
18 Jan 25 04:03 UTC
]
No.
42745726
[source]
▶
>>42745370 (TP)
#
No, SDL provides a window/context in the existing windowing layer.
replies(3):
>>42746778
#
>>42747583
#
>>42748084
#
3.
jpc0
◴[
18 Jan 25 08:23 UTC
]
No.
42746778
[source]
▶
>>42745726
#
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
#
4.
bregma
◴[
18 Jan 25 11:23 UTC
]
No.
42747583
[source]
▶
>>42745726
#
SDL 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.
5.
synergy20
◴[
18 Jan 25 13:12 UTC
]
No.
42748084
[source]
▶
>>42745726
#
I think sdl works directly with fb when using fb as a backend,no windows system is needed
6.
incanus77
◴[
19 Jan 25 05:40 UTC
]
No.
42754042
{3}
[source]
▶
>>42746778
#
Thank you, I stand corrected! I had used it in the windowing sense and didn’t recall the other option!
↑