Re:Apple introduces macOS Mojave
by bla2 on Monday June 04, 2018 @04:08PM
(#17231834)
My guess is browsers will just implement WebGL on top of Metal and this will be transparent to web developers.
[ Parent
| on HN ]
There's precedent: Chrome and Firefox both implement WebGL on Windows with ANGLE, which translates OpenGL to Direct3D.
And it seems they are working on a more generic library : https://github.com/google/nxt-standalone
Ah, and NXT has a Metal backend! Very cool.
It's important to note that NXT isn't necessarily a replacement for ANGLE. It's an experimental replacement for WebGL as a whole, with a different API. There still needs to be a way to run WebGL programs on Mac if this deprecation leads to removal a few versions down the line.
And not strictly a replacement either, WebGL would not go away. The successor to WebGL is still so far away that there will probably be some versions after WebGL 2.0.
browsers are moving to webgpu