Wow, they are DEPRECATING OpenGL from both macOS and iOS: https://developer.apple.com/macos/whats-new/ This is in addition to last year's announcement that "macOS High Sierra is the last version of macOS to run 32bit apps without compromise " I wonder if we will soon see a new lineage of Macbooks fitted with Apple-specific arm64 chips. The most scary thought is if UIKit-on-macOS starts requiring Developer ID entitlem…
I guess we will be saying our last goodbye to “write once, run on all major platforms” graphics code. Does this mean that the only choices now are 1. Fork your graphics code into two separate implementations or 2. Go up the stack and use a cross-platform “game” engine like Unity? I suppose 3. Stop supporting macOS is another (sad) option.
If you aren't in Rust, just use Vulkan. There are high-performance wrappers for it in various stages of development, such as MoltenVK[2] for macOS and iOS, and VulkanOnD3D12[3] for UWP. Non-UWP Windows, Linux, and Android should support Vulkan natively through their GPU drivers.
[1]: https://github.com/gfx-rs/gfx