[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Is WebGL2 Effectively Dead?

WebGL 2.0 is still alive and kicking. There has been steady ongoing work to shift the majority of the WebGL 2.0 implementation into the ANGLE library. It now contains a context creation option for WebGL 2.0 compatibility, above and beyond support for ES 3.0. This mode is now the default in Chrome on Windows and the Chrome team plans to use it on more platforms – hopefully all.

Another recent piece of news is that ANGLE now works on macOS, providing solid EGL, OpenGL ES 2.0, and ES 3.0 implementations on that platform.

At this point, basically all that's needed to support WebGL 2.0 in Safari is to compile in ANGLE, and delegate all of the _javascript_ function calls to ANGLE.


On Thu, Mar 1, 2018 at 9:03 AM, Gregg Tavares <khronos@greggman.com> wrote:
Sorry for the controversial title but....

I just recently tried the latest version of the Safari Technology Preview. I enabled WebGL2 and tried a few very simple (spinning cube level) demos only to be very disappointed they didn't remotely work. Shaders of version 300 es are not supported which is kind of a non-starter.

It's been over a year since Chrome and Firefox shipped WebGL2. Given that Apple now has this public tech preview and given there's effectively no WebGL2 support in it it's made me wonder if Apple has decided to never ship WebGL2 and concentrate only on WebGPU.

Looking at webkit.org there is nearly zero public work happening on WebGL2 in Webkit and the WebGL2RenderingContext code is pretty sparse



I know that in general Apple doesn't announce what they are going to ship and when but it sure would be nice to at least know if they've decided they will likely never ship WebGL2 on which case devs will know iOS will never support WebGL2 and a large percentage of Safari using Mac users won't get WebGL2 either which would be helpful in making decisions about what to target. 

As it is, given the WebGL2 option appeared in the Safari Technology Preview a long time ago it seemed like an indication WebGL2 was going to happen but looking at the current signals it appears Apple is not going to ship WebGL2 ever.