deltacasttv / video-viewer

Cross platform Library that handles display of a video stream
Apache License 2.0
6 stars 0 forks source link

Add support for MacOS #9

Open julienalofs opened 10 months ago

julienalofs commented 10 months ago

Only Windows and Linux are supported for now. It would be great to support MacOS.

Nathoufresh commented 9 months ago

After some investigations:

julienalofs commented 9 months ago

It seems the best way would be to integrate Metal for MacOS. See https://github.com/glfw/glfw/issues/1456 but it's not yet on master branch

julienalofs commented 9 months ago

here is a link about programming Metal in C++: https://developer.apple.com/videos/play/wwdc2022/10160/

julienalofs commented 9 months ago

Another alternative would be to migrate to Vulkan because GLFW now supports Vulkan on macOS via MoltenVK (https://www.glfw.org/docs/3.3/news.html#moltenvk_33).

GLFW Vulkan guide: https://www.glfw.org/docs/3.3/vulkan_guide.html

bedwardly-down commented 2 months ago

I’m not sure how stable or usable this is, but has anyone fully explored it yet? https://github.com/openglonmetal/MGL

julienalofs commented 2 weeks ago

Here are some interesting information: https://stackoverflow.com/questions/65802625/develop-using-opengl-4-x-on-osx-big-sur/