ANGLE (software)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Repository Edit this at Wikidata
Written inC++
TypeGraphics engine
LicenseBSD 3-Clause License

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]


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]

Level of OpenGL ES support via backing renderers[edit]

Direct3D 9 Direct3D 11 Desktop GL GL ES Vulkan Metal
OpenGL ES 2.0 complete complete complete complete in progress not started
OpenGL ES 3.0 complete complete in progress not started not started
OpenGL ES 3.1 not started in progress in progress not started not started


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.[12]

Beside transpilation to other shading languages, ANGLE also applies various GLSL code modifications (even in OpenGL systems like Linux or MacOS) to avoid known issues on some drivers and compilers. A series of turnarounds is available, each being activated or not depending on the browser, browser version, and on the result of sanity checks at browser launch. But these turnarounds have impacts on performances, and also have bugs.

Software utilizing ANGLE[edit]

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]
  • Krita started using ANGLE as the rendering engine on Windows starting on version 3.3.0.[17]
  • Microsoft Edge has ANGLE as a rendering option in the "Standards Preview" page in Windows Insider build 17025.


  1. ^ "Google Announces Angle – Almost Native Graphics Layer Engine – so OpenGL ES can run over DirectX 9 – news". 19 March 2010. Retrieved 5 August 2014.
  2. ^ "Google's Angle brings OpenGL to Windows". 13 December 2011. Retrieved 5 August 2014.
  3. ^ "Chromium gets GPU acceleration – The H Open: News and Features". 30 August 2010. Retrieved 5 August 2014.
  4. ^ Bridge, Henry (18 March 2010). "Chromium Blog: Introducing the ANGLE Project". Retrieved 5 August 2014.
  5. ^ a b c "angleproject – ANGLE: Almost Native Graphics Layer Engine – Google Project Hosting". 25 March 2014. Retrieved 5 August 2014.
  6. ^ a b c "(WebGL) How to Enable Native OpenGL in your Browser (Windows)". Geeks3D. Retrieved 5 August 2014.
  7. ^ a b "Graphics on Windows from a different angle | Qt Blog". Qt. Retrieved 5 August 2014.
  8. ^ a b c d "ANGLE: Running OpenGL ES 2.0 Graphics Code on Windows". 30 April 2015.
  9. ^ Shankland, Stephen (25 March 2014). "Google aims for easier 3D Web on Windows – CNET". Retrieved 5 August 2014.
  10. ^
  11. ^ "ANGLE for Windows Store Wiki". Microsoft Corp.
  12. ^ "Compatibility issues in Shadertoy / webGLSL". 22 July 2016.
  13. ^ "ANGLE for Windows Store – NuGet Package". 29 May 2015.
  14. ^ "FAQ #2570 : Questions : Stellarium".
  15. ^ VideoGameCredits (27 June 2014). "Shovel Knight (Credits) (PC)" – via YouTube.
  16. ^ Jagex. "Dev Blog - NXT - Can I Run It? - News - RuneScape".
  17. ^ Foundation, Krita. "Krita 3.3.0 - Krita".

External links[edit]