A conformant OpenGL ES implementation for Windows, Mac and Linux.
Перейти к файлу
Chris Dalton 493bab09b5 Add an ShPixelLocalStorageType enum
Adds ShPixelLocalStorageType to ShCompileOptionsPLS and adds a
getNativePixelLocalStorageType() call to ContextImpl. For now this enum
only tells the translater whether PLS formats needs to be packed into
r32 images, but it will soon also be able to select framebuffer fetch,
native pixel local storage, and other PLS implementations.

Bug: angleproject:7279
Change-Id: Ifbd419b20550b8711ae3044782177806796216f1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3900498
Commit-Queue: Chris Dalton <chris@rive.app>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2022-09-16 23:17:25 +00:00
android Clean up OWNERS files 2022-06-29 15:57:45 +00:00
build_overrides VVL: Add new GN override for spirv 2022-09-14 15:37:40 +00:00
doc Add instructions to configure RenderDoc ShaderView 2022-09-12 22:13:19 +00:00
extensions Delete FramebufferPixelLocalClearValue{f,i,ui}vANGLE 2022-09-14 20:53:50 +00:00
gni Add option to enable System EGL on all test configs 2022-09-07 19:08:56 +00:00
include Add an ShPixelLocalStorageType enum 2022-09-16 23:17:25 +00:00
infra infra: Update Perf bot config names. 2022-09-16 18:11:02 +00:00
samples Capture/Replay: Delete binary data in FinishReplay via callback 2022-08-29 18:45:47 +00:00
scripts Roll Chromium from f537c423b7df to bf1e383b4aa1 (536 revisions) 2022-09-16 08:11:18 +00:00
src Add an ShPixelLocalStorageType enum 2022-09-16 23:17:25 +00:00
third_party Use canonical Khronos registry XML files for auto-gen. 2022-08-25 17:35:24 +00:00
tools Update flex/bison binaries. 2022-09-13 13:21:40 +00:00
util Vulkan: Add supportsPresentation feature 2022-09-16 04:36:22 +00:00
.clang-format
.gitattributes infra: Trigger win-trace on angle_end2end_tests changes. 2021-11-26 20:53:49 +00:00
.gitignore Roll Chromium from c709ec453fcb to 1c4ee1412503 (1424 revisions) 2022-09-06 12:24:33 +00:00
.gn Roll Chromium from 3bcc8fd7c291 to 6c5859c895f5 (510 revisions) 2021-06-09 18:06:11 +00:00
.style.yapf
.vpython Remove reference to policy_testserver.py 2022-02-15 16:18:29 +00:00
.vpython3 Reland Copy .vpython3 from chromium/src/+/main:.vpython3 2022-08-17 19:52:25 +00:00
.yapfignore
AUTHORS Implement GLSL additions for ANGLE_shader_pixel_local_storage 2022-07-21 14:58:20 +00:00
Android.mk Remove .find_ignore files 2021-05-20 18:35:26 +00:00
BUILD.gn Add option to enable System EGL on all test configs 2022-09-07 19:08:56 +00:00
CONTRIBUTORS Vulkan: Fix a cornercase bug when dynamically loading AHB APIs. 2022-09-16 02:31:22 +00:00
DEPS Roll Chromium from f537c423b7df to bf1e383b4aa1 (536 revisions) 2022-09-16 08:11:18 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-04 19:09:11 +00:00
LICENSE
OWNERS Clean up OWNERS files 2022-06-29 15:57:45 +00:00
PRESUBMIT.py PRESUBMIT: Remove unnecessary escape of forward slash 2022-08-12 14:00:44 +00:00
README.chromium
README.md Doc: Update supported EGL minor version 2022-03-16 19:45:20 +00:00
WATCHLISTS WATCHLISTS: Remove timvp@ from 'vulkan' 2022-03-03 15:13:09 +00:00
additional_readme_paths.json
codereview.settings
dotfile_settings.gni

README.md

ANGLE - Almost Native Graphics Layer Engine

The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0, 3.0 and 3.1 to Vulkan, desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Future plans include ES 3.2, translation to Metal and MacOS, Chrome OS, and Fuchsia support.

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

Platform support via backing renderers

Direct3D 9 Direct3D 11 Desktop GL GL ES Vulkan Metal
Windows complete complete complete complete complete
Linux complete complete
Mac OS X complete in progress
iOS in progress
Chrome OS complete planned
Android complete complete
GGP (Stadia) complete
Fuchsia complete

ANGLE v1.0.772 was certified compliant by passing the OpenGL ES 2.0.3 conformance tests in October 2011.

ANGLE has received the following certifications with the Vulkan backend:

  • OpenGL ES 2.0: ANGLE 2.1.0.d46e2fb1e341 (Nov, 2019)
  • OpenGL ES 3.0: ANGLE 2.1.0.f18ff947360d (Feb, 2020)
  • OpenGL ES 3.1: ANGLE 2.1.0.f5dace0f1e57 (Jul, 2020)

ANGLE also provides an implementation of the EGL 1.5 specification.

ANGLE is used as the default WebGL backend for both Google Chrome and Mozilla Firefox on Windows platforms. Chrome uses ANGLE for all graphics rendering on Windows, including the accelerated Canvas2D implementation and the Native Client sandbox environment.

Portions of the ANGLE shader compiler are used as a shader validator and translator by WebGL implementations across multiple platforms. It is used on Mac OS X, Linux, and in mobile variants of the browsers. Having one shader validator helps to ensure that a consistent set of GLSL ES shaders are accepted across browsers and platforms. The shader translator can be used to translate shaders to other shading languages, and to optionally apply shader modifications to work around bugs or quirks in the native graphics drivers. The translator targets Desktop GLSL, Vulkan GLSL, Direct3D HLSL, and even ESSL for native GLES2 platforms.

Sources

ANGLE repository is hosted by Chromium project and can be browsed online or cloned with

git clone https://chromium.googlesource.com/angle/angle

Building

View the Dev setup instructions.

Contributing