Software:ANGLE

From HandWiki
ANGLE
Developer(s)Google
Written inC++
PlatformCross-platform
TypeGraphics engine
LicenseBSD 3-Clause License
Websiteangleproject.org

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, the Apple team contributed a Metal API backend for the ANGLE so Apple devices could run on their native graphics APIs.[12]

ANGLE is distributed under a 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 complete
OpenGL ES 3.1 incomplete complete complete complete
OpenGL ES 3.2 in progress in progress complete
Direct3D 9 Direct3D 11 Desktop GL GL ES Vulkan Metal
Windows complete complete complete complete complete
Linux complete complete
macOS complete complete
iOS complete
ChromeOS complete Planned
Android complete complete
GGP (Stadia) 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]
  • Godot uses ANGLE as an option for compatibility renderer for Windows and MacOS platforms starting with Godot 4.2[16][17]
  • 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[18] 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.[19]
  • Shovel Knight uses ANGLE as rendering engine, as seen in final credits.[20]
  • RuneScape NXT client uses ANGLE to provide a DirectX 9 compatibility mode for older graphics cards.[21]
  • Krita started using ANGLE as the rendering engine on Windows starting on version 3.3.0.[22]
  • Microsoft Edge has ANGLE as a rendering option in the "Standards Preview" page in Windows Insider build 17025.
  • Grand Theft Auto V included ANGLE in the installation, normally at Systemdrive.
  • OpenRA uses ANGLE for rendering on Windows[23]
  • SolveSpace uses ANGLE on Windows.
  • GameMaker: Studio uses ANGLE at compile-time to convert GLSL ES shaders to HLSL9 for the old Windows 32-bit export module.

References

  1. "Google Announces Angle – Almost Native Graphics Layer Engine – so OpenGL ES can run over DirectX 9 – khronos.org news". Khronos.org. 19 March 2010. http://www.khronos.org/news/permalink/google-announces-angle-almost-native-graphics-layer-engine-so-opengl-es-can. Retrieved 5 August 2014. 
  2. "ANGLE" (in en). https://chromium.googlesource.com/angle/angle/. 
  3. 3.0 3.1 "Google's Angle brings OpenGL to Windows". I-programmer.info. 13 December 2011. http://www.i-programmer.info/news/144-graphics-and-games/3471-googles-angle-brings-opengl-to-windows.html. Retrieved 5 August 2014. 
  4. 4.0 4.1 "Chromium gets GPU acceleration – The H Open: News and Features". H-online.com. 30 August 2010. http://www.h-online.com/open/news/item/Chromium-gets-GPU-acceleration-1069131.html. Retrieved 5 August 2014. 
  5. 5.0 5.1 Bridge, Henry (18 March 2010). "Chromium Blog: Introducing the ANGLE Project". Blog.chromium.org. https://blog.chromium.org/2010/03/introducing-angle-project.html. Retrieved 5 August 2014. 
  6. "angle/angle - Git at Google". https://chromium.googlesource.com/angle/angle/. 
  7. (in en) ANGLE: OpenGL on Vulkan, https://www.youtube.com/watch?v=QrIKdjmpmaA, retrieved 2021-07-08 
  8. 8.0 8.1 8.2 "angleproject – ANGLE: Almost Native Graphics Layer Engine – Google Project Hosting". 25 March 2014. https://code.google.com/p/angleproject/. Retrieved 5 August 2014. 
  9. 9.0 9.1 9.2 "(WebGL) How to Enable Native OpenGL in your Browser (Windows)". Geeks3D. http://www.geeks3d.com/20130611/webgl-how-to-enable-native-opengl-in-your-browser-windows/. Retrieved 5 August 2014. 
  10. 10.0 10.1 "Graphics on Windows from a different angle | Qt Blog". Qt. http://blog.qt.io/blog/2012/10/24/graphics-on-windows-from-a-different-angle/. Retrieved 5 August 2014. 
  11. 11.0 11.1 11.2 11.3 "ANGLE: Running OpenGL ES 2.0 Graphics Code on Windows". channel9.msdn.com. 30 April 2015. http://channel9.msdn.com/Events/Build/2015/3-686. 
  12. 12.0 12.1 "WebGL 2.0 Achieves Pervasive Support from all Major Web Browsers" (in en). 2022-02-09. https://www.khronos.org/blog/webgl-2-achieves-pervasive-support-from-all-major-web-browsers. 
  13. Shankland, Stephen (25 March 2014). "Google aims for easier 3D Web on Windows – CNET". News.cnet.com. http://news.cnet.com/8301-30685_3-20000756-264.html. Retrieved 5 August 2014. 
  14. https://angleproject.googlecode.com/files/ANGLE%20and%20Cross-Platform%20WebGL%20Support.pdf .
  15. "ANGLE for Windows Store Wiki". Microsoft Corp.. http://go.microsoft.com/fwlink/p/?linkid=618387. 
  16. "Dev snapshot: Godot 4.2 dev 6". https://godotengine.org/article/dev-snapshot-godot-4-2-dev-6/. 
  17. https://github.com/godotengine/godot/pull/72831
  18. "ANGLE for Windows Store – NuGet Package". www.nuget.org. 29 May 2015. http://www.nuget.org/packages/ANGLE.WindowsStore/. 
  19. "FAQ #2570 : Questions : Stellarium". https://answers.launchpad.net/stellarium/+faq/2570. 
  20. VideoGameCredits (27 June 2014). "Shovel Knight (Credits) (PC)". https://www.youtube.com/watch?v=60TaTg1RmrQ. 
  21. Jagex. "Dev Blog - NXT - Can I Run It? - News - RuneScape". http://services.runescape.com/m=news/a=12/dev-blog--nxt---can-i-run-it. 
  22. Foundation, Krita (28 September 2017). "Krita 3.3.0 - Krita". https://krita.org/en/item/krita-3-3-0/. 
  23. Chote, Paul (31 January 2021). "Playtest 20210131". OpenRA. https://www.openra.net/news/playtest-20210131/. 

External links