Enable WebGL support in 0.174+ versions

  • Feature Description: Starting from 0.174 WebGL is disabled by default. It would be wonderful if we could bring it back.
  • impact for my app: [low, mid, high, show-stopper]. high
  • What is your current pain point? I am not able to develop apps that are powered by WebGL
  • What do you have in mind to solve it?

You may check if WebGL is enabled within the web-browser by entering

const gl = document.createElement("canvas").getContext("webgl");
console.log(gl.getParameter(gl.VERSION));
console.log(gl.getParameter(gl.SHADING_LANGUAGE_VERSION));
console.log(gl.getParameter(gl.VENDOR));

In console. Here is the result of 0.158.1.1 version
unknown

With latest app version the WebGl is absent even when GPU acceleration is enabled per manifest.json and per window.

Thank you.

Hey. I’ll check the issue and let you know.

Thanks.

Hello @eransharv , thank you so very much for your reply.
Please let me know if you would like me to provide any more information or examples.

To test if WebGL working correctly I use PixiJS bunny mark which relies on WebGL

On 0.166.1.16 with WebGL support the screen would be black

Hey @wobes1,

WebGL is not supported on OSR windows, just on native windows.

Thanks.