openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

[feature request] [macOS] provide a metal backend

Open artificiel opened this issue 2 years ago • 2 comments

OF is depending on GLFW to provide the path through the macOS openGL long-deprecated APIs. since macOS13 a sync bug is present and seems difficult to address https://github.com/RustyMoyher/glfw_MacVsyncFix. in order to disengage OF of GLFW (on macOS) and gain more control on the low level flow of things (esp timing), a more supported, lower backend should be investigated.

it would also remove a time-bomb as any macOS release might completely remove openGL support (or sandbox it deeper in a compositor that compromises performance further), and relying on GLFW to provide the required answers in a timely manner might not be acceptable, especially considering it is near impossible to downgrade new Apple hardware to older macOS versions.

WebGPU was evoked in https://github.com/openframeworks/openFrameworks/issues/7752#issuecomment-1816765347.

artificiel avatar Nov 19 '23 18:11 artificiel

Yes I think the first step is getting ANGLE libs for macOS and sliding them in and just automatically gaining Metal power. \m/

danoli3 avatar Dec 13 '23 19:12 danoli3

I'm linking here another GLFW PR for glfw that is trying to address the same issue

  • https://github.com/glfw/glfw/pull/2277

dimitre avatar Jan 18 '24 15:01 dimitre