aleksigron / kokko

Simple cross-platform game engine using OpenGL.
MIT License
20 stars 1 forks source link

Support macOS with Metal #47

Open aleksigron opened 1 year ago

aleksigron commented 1 year ago

In order to support the modern graphics features Kokko might want to use on macOS, we need to implement support for the Metal rendering API. When running on Metal, Xcode also provides very good graphics debugging tools that are better than anything found on OpenGL or Vulkan, which could make debugging and profiling much easier. Metal fits somewhere between OpenGL and Vulkan when it comes to abstraction level, so supporting Metal makes it slightly easier to implement support for Vulkan in the future.

SamoZ256 commented 1 year ago

Do you still work on Metal support? Because it does not build anymore

aleksigron commented 1 year ago

Thanks for the report @SamoZ256. I will try to fix the macOS build soon. Do bear in mind that this feature is in very early stages, and I can't promise any timelines for the implementation.

aleksigron commented 1 year ago

@SamoZ256 MacOS build is fixed with PR #59. Now the project is also built for macOS and unit tests are run on CI, so it shouldn't break again.