GLFW, a platform-independent API for developers already supports Vulkan

By - | Views: 18,899
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
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check 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.
See more from me
The comments on this article are closed.
14 comments
Page: «2/2
  Go to:

mirv 17 Feb, 2016
View PC info
  • Supporter Plus
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.
ElectricPrism 18 Feb, 2016
Quoting: mirv
Quoting: 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.
drmoth 18 Feb, 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 18 Feb, 2016
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
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just 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.