-
-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Metal on macOS #621
Comments
This would mean I would need to give up using GLFW. 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:
|
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 |
Now all the examples worked correctly! |
https://developer.apple.com/macos/whats-new/
The text was updated successfully, but these errors were encountered: