Microsoft Open Sources WebGL Browser Technology
In another step in the company's open source initiate, Microsoft last week has made some of its tech used for WebGL graphics rendering in its Microsoft Edge browser available in the GitHub repository.
The nonprofit Khronos Group maintains the specification for WebGL, which is implemented in Apple's Safari, Google's Chrome, Mozilla's Firefox and Opera Software's Opera browsers.
Microsoft, for its part, uses a renderer in its Edge browser to swap the WebGL content to its own DirectX subsystem in Windows. The Edge browser has a transpiler to covert the OpenGL Shading Language (GLSL) of WebGL to the High Level Shading Language (HLSL). It's this GLSL-to-HLSL transpiler that is getting released as open source code by Microsoft, according to its announcement. Chrome and Firefox browsers have similar functionality, but they use Almost Native Graphics Layer Engine (ANGLE) technology, Microsoft noted.
Microsoft at one time was an early critic of the use of WebGL in browsers, saying that some security risks were involved. Its Internet Explorer 11 browser checked for "unsafe WebGL content," Microsoft claimed.
In bringing its code into open source, Microsoft aims to "improve interoperability across browsers." This HLSL-to-GLSL transpiler code release may not be the last of its kind as Microsoft "may expand the scope of the release to other subcomponents over time," according to the announcement. However, it doesn't signify that the Edge browser will be going open source.
"At this time we have no plans to open source Microsoft Edge or EdgeHTML, but we understand and value the importance of being more open with our roadmap and our core technologies," Microsoft's announcement clarified.
Kurt Mackie is senior news producer for the 1105 Enterprise Computing Group.