Re:Qt for WebAssembly
by dzonga on Tuesday June 19, 2018 @06:01PM
(#17350638)
With apple cancelling out OpenGL support. What will happen in terms web assembly apps that would've needed that kind of access to OpenGL api's ?
[ Parent
| on HN ]
By default, both Firefox and Chrome use the ANGLE layer to render WebGL draw calls under Windows. ANGLE is an implementation of the OpenGL ES 2.0 specification that is hardware-accelerated via Direct3D 9. So native OpenGL is not even used on Windows. I'm sure that it's possible to achieve something similar with Metal.
It seems like writing one OpenGL to Vulkan converter to rule them all would be the best solution. It would allow GPU vendors to focus on optimizing the much smaller and performant Vulkan
engine and would probably reduce driver size by a couple orders of magnitude.
WebGL (which is what QT's OpenGL targets) will continue to be supported for the foreseeable future, whether in Safari, or via custom implementations in Chrome or Firefox.
Nothing. Apple's WebKit engineers have stated that they will continue to support WebGL going forward.
Nothing, WebGL doesn't require OpenGL as implementation, in fact browsers on Windows and game consoles use other 3D APIs.
What OpenGL supporter always forget to mention is that all middleware that matters already has Metal support, even some ML frameworks have better Metal Compute support than OpenCL.