Hacker News new | past | comments | ask | show | jobs | submit login

>So what is the bare minimum? To use the GPU, I need a graphics API. Vulkan is the one that is most widely supported so that is a natural choice

Vulkan can't possibly be the most widely supported graphics API can it? I have to imagine that targeting older hardware is better with OpenGL because it's been around forever, but I don't actually know and a quick google search doesn't turn up much.




You're right.

I did some graphics work in my last job. OpenGL2 is supported by just about every device made in the last 15 years, on every major operating system, including software OpenGL in VMs.

Vulkan is not officially supported on OSX (although there is an unofficial port that is quite good, from what I understand) and only runs on modern hardware.


And by "modern" we really mean released the last few years. For example it doesn't run on my 2013 laptop (has a 660M GPU, Nvidia supports Vulkan only from 7xx series) or my (late) 2016 GPD Win (technically there is Vulkan 1.0 support under Linux but not under Windows and AFAIK even the Linux driver has issues).


> Vulkan is not officially supported on OSX

And neither is OpenGL


Deprecated, not unsupported.

And, like, Apple ported OpenGL to Apple Silicon macs. I suspect it's going to stick around, it's just never, ever going to get updated.


You're kidding. The OpenGL implementation/support of Mac is pretty nonexistent/poor.


It’s OpenGL 3.3. It works as well as OpenGL 3.3 does anywhere else. It’s an old version, but it certainly exists, and it’s what many/most Mac games still use because it’s cross platform.


The MoltenVK guys originally got their start creating a commercial offering of OpenGL on top of Metal so that you could skip the Apple OpenGL system.

Yeah, that's how crap Apple support for OpenGL is.


There are lots of Windows machines around with subpar or buggy OpenGL implementations.

I used to develop a Qt/QML app for Windows it was impractical to leave hardware acceleration enabled. In then end, using Mesa/llvmpipe everywhere was just more reliable.


It isn't, it is also not available on game consoles (Swift supports it, but also has GL 4.6 and NVN), or any Android device lower than 10.

Even with 10 or later, if not using Google or Samsung flagship devices, you will bump into driver issues.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: