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, cross-platform graphics engine abstraction layer developed by Google.[1] ANGLE translates OpenGL ES 2/3 calls to DirectX 9, 11, OpenGL or Vulkan API calls.[2][3][4][5] It's a portable version of OpenGL but with limitations of OpenGL ES standard.[6][7]
The API is mainly designed to bring up a high-performance OpenGL compatibility to MS Windows and to web browsers such as Chromium by translating OpenGL calls to Direct3D, which has much better driver support on Windows systems.[3][4][5] On Windows, there are two backend renderers for ANGLE: the oldest one uses Direct3D 9.0c, while the newer one uses Direct3D 11.[8]
ANGLE is currently used by Google Chrome (it's embedded into the Blink browser engine), Firefox,[9] Edge, WebKit, and the Qt Framework.[10] The engine is also used by Windows 10 for compatibility with apps ported from Android.[11] Throughout 2019 Apple team contributed a Metal API backend for the ANGLE so Apple devices could run on their native graphics APIs.[12]
The ANGLE is distributed under BSD-license.
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.[13]
The current production version (2.1.x) implements OpenGL ES 2.0, 3.0, 3.1 and EGL 1.5 claiming to pass the conformance tests for both. Work was started on then future OpenGL ES 3.0 version,[8] for the newer Direct3D 11 backend.[14]
The capability to use ANGLE in a Windows Store app was added in 2014.[11] Microsoft contributed support for lower feature levels to the project. Supporting CoreWindow and SwapChainPanel in ANGLE's EGL allows applications to run on Windows 8.1, Windows Phone 8.1, and later.[15]
Level of OpenGL ES support via backing renderers
Direct3D 9 | Direct3D 11 | Desktop GL | GL ES | Vulkan | Metal | |
---|---|---|---|---|---|---|
OpenGL ES 2.0 | complete | complete | complete | complete | complete | complete |
OpenGL ES 3.0 | complete | complete | complete | complete | in progress | |
OpenGL ES 3.1 | incomplete | complete | complete | complete | ||
OpenGL ES 3.2 | in progress | in progress | in progress |
Direct3D 9 | Direct3D 11 | Desktop GL | GL ES | Vulkan | Metal | |
---|---|---|---|---|---|---|
Windows | complete | complete | complete | complete | complete | |
Linux | complete | complete | ||||
macOS | complete | in progress | ||||
iOS | Planned | |||||
Chrome OS | complete | Planned | ||||
Android | complete | complete | ||||
Fuchsia | complete |
Software utilizing ANGLE
ANGLE is currently used in a number of programs and software.
- Chromium and Google Chrome.[9] 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).[8]
- Safari web browser uses ANGLE as basis for its WebGL implementation.[12]
- Firefox uses ANGLE as the default WebGL backend on Windows.[9]
- 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.[10]
- Candy Crush Saga uses ANGLE as the default renderer in its Windows Store version of the application.[11]
- Cocos2d uses ANGLE as its rendering engine for applications published to the Windows Store.[11]
- ANGLE for Windows Store [16] 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.[17]
- Shovel Knight uses ANGLE as rendering engine, as seen in final credits.[18]
- RuneScape NXT client uses ANGLE to provide a DirectX 9 compatibility mode for older graphics cards.[19]
- Krita started using ANGLE as the rendering engine on Windows starting on version 3.3.0.[20]
- Microsoft Edge has ANGLE as a rendering option in the "Standards Preview" page in Windows Insider build 17025.
- GTA V included ANGLE in the installation, normally at Systemdrive.
- OpenRA uses ANGLE for rendering on Windows[21]
- SolveSpace usues ANGLE on Widnows.
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.
- ^ "ANGLE". Skia. Retrieved 11 April 2022.
- ^ a b "Google's Angle brings OpenGL to Windows". I-programmer.info. 13 December 2011. Retrieved 5 August 2014.
- ^ a b "Chromium gets GPU acceleration – The H Open: News and Features". H-online.com. 30 August 2010. Retrieved 5 August 2014.
- ^ a b Bridge, Henry (18 March 2010). "Chromium Blog: Introducing the ANGLE Project". Blog.chromium.org. Retrieved 5 August 2014.
- ^ "angle/angle - Git at Google". chromium.googlesource.com. Retrieved 8 July 2021.
- ^ ANGLE: OpenGL on Vulkan, retrieved 8 July 2021
- ^ a b c "angleproject – ANGLE: Almost Native Graphics Layer Engine – Google Project Hosting". 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". Qt. Retrieved 5 August 2014.
- ^ a b c d "ANGLE: Running OpenGL ES 2.0 Graphics Code on Windows". channel9.msdn.com. 30 April 2015.
- ^ a b "WebGL 2.0 Achieves Pervasive Support from all Major Web Browsers". The Khronos Group. 9 February 2022. Retrieved 13 February 2022.
- ^ 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 Archived 11 August 2014 at the Wayback Machine.
- ^ "ANGLE for Windows Store Wiki". Microsoft Corp.
- ^ "ANGLE for Windows Store – NuGet Package". www.nuget.org. 29 May 2015.
- ^ "FAQ #2570 : Questions : Stellarium". answers.launchpad.net.
- ^ VideoGameCredits (27 June 2014). "Shovel Knight (Credits) (PC)" – via YouTube.
- ^ Jagex. "Dev Blog - NXT - Can I Run It? - News - RuneScape". services.runescape.com.
- ^ Foundation, Krita. "Krita 3.3.0 - Krita". krita.org.
- ^ Chote, Paul (31 January 2021). "Playtest 20210131". OpenRA.