ANGLE (software)
Developer(s) | |
---|---|
Repository | |
Written in | C++ |
Platform | Cross-platform |
Type | Graphics engine |
License | BSD 3-Clause License |
Website | angleproject |
ANGLE (Almost Native Graphics Layer Engine) is an open source, BSD-licensed graphics engine abstraction layer developed by Google.[1] The API is mainly designed to bring high-performance OpenGL compatibility to Windows computers and to web browsers such as Chromium by translating OpenGL calls to Direct3D, which has much better driver support.[2][3][4] There are two backend renderers for ANGLE: the oldest one uses Direct3D 9.0c, while the newer one uses Direct3D 11.[5]
ANGLE is currently used by Google Chrome, Firefox,[6] and the Qt Framework.[7] The engine is also used by Windows 10 for compatibility with apps ported from Android.[8]
History
The project started as a way for Google to bring full hardware acceleration for WebGL to Windows without relying on OpenGL graphics drivers. Google initially released the program under the BSD license.[9]
The current production version (1.0.x) implements OpenGL ES 2.0 and EGL 1.4, claiming to pass the conformance tests for both. Work has started on the future OpenGL ES 3.0 version,[5] for the newer Direct3D 11 backend.[10]
The capability to use ANGLE in a Windows Store app was added in 2014.[8] Supporting CoreWindow and SwapChainPanel in ANGLE's EGL allows applications to run on Windows 8.1, Windows Phone 8.1, and later.[11]
Issues
Still, Angle is based on transpiling technology, translating GLSL into HLSL. This causes some differences in the way expressions are evaluated, in addition to differences in preconditions for equivalent built-in functions in GLSL vs HLSL, plus specific transpiling bugs added to GLSL/HLSL optimizer and compiler bugs. This, with the fact that different browsers rely on different version of Direct3D having different bugs induces many differences of code behavior that can cause WebGL shaders to produce different results depending on the OS and the browser (and the drivers). Many are documented in [12].
Software Utilizing ANGLE
ANGLE is currently used in a number of programs and software.
- Chromium and Google Chrome.[6] Chrome uses ANGLE not only for WebGL, but also for its implementation of the 2D HTML5 canvas and for the graphics layer of the Google Native Client (which is OpenGL ES 2.0 compatible).[5]
- Firefox uses ANGLE as the default WebGL backend on Windows[6]
- Qt 5 uses ANGLE as the default renderer for its OpenGL ES 2.0 API wrapper and other Qt elements which use it on Windows[7]
- Candy Crush Saga uses ANGLE as the default renderer in its Windows Store version of the application[8]
- Cocos2d uses ANGLE as its rendering engine for applications published to the Windows Store[8]
- ANGLE for Windows Store [13] provides Windows developers precompiled ANGLE binaries via a NuGet package
- Stellarium provides two versions for Windows: the default version uses OpenGL, the alternative version uses ANGLE as the renderer.[14]
- Shovel Knight uses ANGLE as rendering engine, as seen in final credits.[15]
- RuneScape NXT client uses ANGLE to provide a DirectX 9 compatibility mode for older graphics cards.[16]
References
- ^ "Google Announces Angle – Almost Native Graphics Layer Engine – so OpenGL ES can run over DirectX 9 – khronos.org news". Khronos.org. 19 March 2010. Retrieved 5 August 2014.
- ^ "Google's Angle brings OpenGL to Windows". I-programmer.info. 13 December 2011. Retrieved 5 August 2014.
- ^ "Chromium gets GPU acceleration – The H Open: News and Features". H-online.com. 30 August 2010. Retrieved 5 August 2014.
- ^ Bridge, Henry (18 March 2010). "Chromium Blog: Introducing the ANGLE Project". Blog.chromium.org. Retrieved 5 August 2014.
- ^ a b c "angleproject – ANGLE: Almost Native Graphics Layer Engine – Google Project Hosting". Code.google.com. 25 March 2014. Retrieved 5 August 2014.
- ^ a b c "(WebGL) How to Enable Native OpenGL in your Browser (Windows)". Geeks3D. Retrieved 5 August 2014.
- ^ a b "Graphics on Windows from a different angle | Qt Blog". Blog.qt.digia.com. Retrieved 5 August 2014.
- ^ a b c d "ANGLE: Running OpenGL ES 2.0 Graphics Code on Windows". channel9.msdn.com. 30 April 2015.
- ^ Shankland, Stephen (25 March 2014). "Google aims for easier 3D Web on Windows – CNET". News.cnet.com. Retrieved 5 August 2014.
- ^ https://angleproject.googlecode.com/files/ANGLE%20and%20Cross-Platform%20WebGL%20Support.pdf.
- ^ "ANGLE for Windows Store Wiki". Microsoft Corp.
- ^ https://shadertoyunofficial.wordpress.com/2016/07/22/compatibility-issues-in-shadertoy-webglsl/
- ^ "ANGLE for Windows Store – NuGet Package". www.nuget.org. 29 May 2015.
- ^ https://answers.launchpad.net/stellarium/+faq/2570
- ^ https://www.youtube.com/watch?v=60TaTg1RmrQ
- ^ http://services.runescape.com/m=news/a=12/dev-blog--nxt---can-i-run-it
External links