We do often include affiliate links to earn us some pennies. See more here.
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.

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. Article taken from GamingOnLinux.com.
Tags: Toolkit, Vulkan
0 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
10 comments

loggfreak Feb 17, 2016
Few, i almost thought it said GFWL(games for windows live)
instead of GLFW
kuro Feb 17, 2016
Whoa never again GFWL. It's dead and should stay dead. I think we all don't want a GFWL Zombie.
Liam Dawe Feb 17, 2016
Whoa never again GFWL. It's dead and should stay dead. I think we all don't want a GFWL Zombie.

Completely different things.
Keyrock Feb 17, 2016
Few, i almost thought it said GFWL(games for windows live)
instead of GLFW

Same here. GFWL has scarred me so deep that seeing any combination of those 4 letters as an acronym sends shivers down my spine. That horrible "service" from Microsoft has ruined all other acronyms with those letters for me. :(
Seegras Feb 17, 2016
Well, about GFWL: https://github.com/Seegras/wine/tree/work/dlls/xlive

And that's nearly about as much of GFWL you will ever need (well, nearly, if we could bring ourselves to really finish it, some things are still rather weird and unfinished).
Skully Feb 17, 2016
Actually GLFW sux as hard as GFWL. Seen quite a few games suffer problems from using that instead of SDL2.
toni Feb 17, 2016
"Good news developers, GLFW (an alternative to thinks like SDL) "

Obviously it's a typo for "things"
ElectricPrism Feb 18, 2016
Actually 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.
drmoth Feb 18, 2016
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.
Doc Angelo Feb 18, 2016
It 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
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.