Good news developers, GLFW (an alternative to things like SDL) already supports Vulkan and it's available right now. They haven't officially released GLFW 3.2 yet which has Vulkan, but you can grab the source any time from github.
It seems they actually worked with Nvidia to make it happen:
You can find GLFW on github, and their official GLFW site here. You can also find their brand new Vulkan documentation here.
QuoteGLFW is a free, Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan application development. It provides a simple, platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.
It seems they actually worked with Nvidia to make it happen:
Many thanks to @Nvidia for providing early access to their #Vulkan driver so I could test GLFW on all relevant platforms.
— elmindreda (@elmindreda) February 16, 2016
You can find GLFW on github, and their official GLFW site here. You can also find their brand new Vulkan documentation here.
Some you may have missed, popular articles from the last month:
Quoting: stanYeah, in general games that don’t use SDL2 have all sorts of issues… Not sure why anyone would want to use glfw.
Sorry to be a nuisance, but again, what issues? Can't help out if there aren't examples, and I've not seen any problems related to GLFW myself.
1 Likes, Who?
Quoting: mirvQuoting: SkullyActually GLFW sux as hard as GFWL. Seen quite a few games suffer problems from using that instead of SDL2.
Care to explain why it "sux"? Considering all GLFW does is open a window and handle a little bit of input, there's not a whole lot that can go wrong with it of note. For what it covers, SDL2 and GLFW are quite comparable.
I err on the side of caution, for example to the inexperienced someone may compare GIMP and Photoshop and they would be right to do so at mere face value, however the differences are infinitesimal.
Sure SDL2 and GLFW are both game libraries, It's been a while since I programmed with SDL however my experience with it felt that it lacked the modularity that I hoped it would have and that events had to be triggered in a much more procedural way than alternatives.
Apples and Pears here. I too hope OP elaborates more from his experience.
0 Likes
GLFW is an excellent, modern Windowing Library. It is equivalent to SDL2, and certainly not worse than it. Probably better in a number of ways actually.
1 Likes, Who?
Quoting: drmothIt is equivalent to SDL2, and certainly not worse than it.
In the FAQ section of their website, they state that GLFW is not like SDL (or GLUT). This is not inherently a bad thing, though. :)
http://www.glfw.org/faq.html#what-is-glfw-not
0 Likes
See more from me