Английская Википедия:ANGLE (software)

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short descriptionШаблон:Use dmy dates Шаблон:Infobox software 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 Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success
OpenGL ES 3.0 Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success
OpenGL ES 3.1 Шаблон:Partial failure Шаблон:Success Шаблон:Success Шаблон:Success
OpenGL ES 3.2 Шаблон:Partial Шаблон:Partial Шаблон:Success
Direct3D 9 Direct3D 11 Desktop GL GL ES Vulkan Metal
Windows Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success Шаблон:Success
Linux Шаблон:Success Шаблон:Success
macOS Шаблон:Success Шаблон:Success
iOS Шаблон:Success
ChromeOS Шаблон:Success Шаблон:Planned
Android Шаблон:Success Шаблон:Success
GGP (Stadia) Шаблон:Success
Fuchsia Шаблон:Success

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

Шаблон:Reflist

External links