Skip to content
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

macOS Metal port #463

Open
grantramsay opened this issue Feb 14, 2020 · 4 comments
Open

macOS Metal port #463

grantramsay opened this issue Feb 14, 2020 · 4 comments

Comments

@grantramsay
Copy link
Contributor

macOS has deprecated OpenGL, at some point they will drop support and freeablo will require a Metal graphics backend.

  • SDL2 looks to already have Metal support
  • Nuklear has an issue raised but no work done yet
  • custom rendering etc will require porting

Probably shouldn't be done until:

  • Nuklear adds Metal support
  • rendering overhaul Atlas texture and batched rendering #429 is complete (to avoid rework)
  • OpenGL support is about to be dropped (to avoid additional maintenance in the meantime)
@wheybags
Copy link
Owner

Mypreference would be to eventually drop opengl on all platforms, and just use vulkan. On osx we can use moltenvk.

@oleid
Copy link

oleid commented May 22, 2020

Another option would be using webgpu. That works fine on desktop as well and uses native graphic apis on the corresponding platform, i.e DirectX 12 or Vulkan on windows, vulkan on Linux and Metal on Mac OS.

It is a safe api similar to Vulkan. Performance is somewhere between OpenGL and highly optimized Vulkan.

An opengl backend for WebGPU is also on the Roadmap, but I wouldn't count on it.

Oh,and of course Webgpu will work in your favorite browser.So a web port of this game would be possible:)

@oleid
Copy link

oleid commented May 22, 2020

@sleepyspider1
Copy link

There's also bgfx as well. https://github.com/bkaradzic/bgfx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants