3 ms·
> I didn't build this for conformance I just wanted to program OpenGL on the MacOS platform That's a bit of a red sign. It may work on your machine for your ap
by kvark 4y ago
> I didn't build this for conformance I just wanted to program OpenGL on the MacOS platform
That's a bit of a red sign. It may work on your machine for your application. Conformance tests are a great mechanism to understand how it's going to work for other applications you haven't tested. Hooking up OpenGL CTS on macOS shouldn't be too hard - we got the Vulkan CTS running there a while ago.
Practically speaking, this project is interesting. While generally I'd recommend looking at Vulkan instead of OpenGL 4xxx (as opposed to, say OpenGL ES 3.1), in this case Vulkan -> Metal is much more involved than OpenGL -> Metal. The low level abstractions of Vulkan just don't play that well. For example, MoltenVK doesn't really record any command buffers before you submit(), and that's an abstraction failure. So OpenGL -> Metal is an interesting way to have portable code with a more flexible (better?) abstraction, assuming you can make it work :)