https://developer.apple.com/macos/whats-new/
Deprecation of OpenGL and OpenCL
This would mean I would need to give up using GLFW.
https://github.com/kovidgoyal/kitty/issues/972
It looks like Apple is really deprecating OpenGL.
I plan to use @dmitshur's https://dmitri.shuralyov.com/gpu/mtl
See also https://dmitri.shuralyov.com/blog/26
Current status: https://github.com/hajimehoshi/ebiten/blob/metal/internal/graphicsdriver/metal/driver.go Succeeded to render examples!
Most rendering part has been implemented.
Remaining tasks:
MaxImageSize)Are you still using glfw 3.2 or something else for the window?
Yes, I'm still using GLFW 3.2 as 'No API' mode. The application runs with a Cocoa window without OpenGL initialization and context. Metal's rendering works on the Cocoa window.
For more details, @dmitshur's https://dmitri.shuralyov.com/gpu/mtl/example/movingtriangle is a great example.
Most of them are implemented. Now I'm fixing a bug that screen flickers on fullscreen mode.
EDIT: Fixed: the cause was multiple PresentDrawable call for the same Drawable object.
Now all the examples worked correctly!
Most helpful comment
Current status: https://github.com/hajimehoshi/ebiten/blob/metal/internal/graphicsdriver/metal/driver.go Succeeded to render examples!
Most rendering part has been implemented.
Remaining tasks:
MaxImageSize)