this post was submitted on 18 Jul 2025
90 points (96.9% liked)
Programming
22186 readers
282 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you. I'll ask questions here, but might find out more while reading the other answers.
~~So, SDL provides a window with an OpenGL surface. What is OpenGL? Is it an API spec that can have multiple implementations like the opensource implementation that is Mesa? Is DirectX 3D the same just with a proprietary implementation?~~ @Kissaki@programming.dev answered this.
And when you say "Vulkan is multi-threaded", does that mean that the implementation uses instructions for drivers that target a multiple GPU cores? I would have expected the multi-threaded or parallelism aspect to be handled by the driver, not the driver client (in this case Vulkan or Mesa/OpenGL).
Anti Commercial-AI license
Yes, OpenGL is an open specification, it has multiple proprietary implementations, and an open-source implementation (MESA). DirectX 3D is a proprietary specification with proprietary implementations (and one open-source implementation in Wine), but it's essentially the same graphics driver API as OpenGL.
OpenGL uses multiple GPU cores, but GPU is controlled by a single CPU core. GPU does most of the work of course, but for some operations, like uploading a lot of textures when loading a level, or drawing a dynamic geometry with a lot of triangles, CPU becomes a bottleneck.