Skip to content
A conformant OpenGL ES implementation for Windows, Mac and Linux.
C++ C Python Objective-C++ Yacc HLSL Other
Branch: master
Clone or download
Shahbaz Youssefi Commit Bot
Shahbaz Youssefi and Commit Bot Return the correct location count for matrices in structs
GetLocationCount() returned secondary size for fields of a struct.  For
matrices however, the correct value would be the primary size.

This is a similar fix to 6423b7f.

Bug: angleproject:4200
Change-Id: I2c69b9454729993010766fcde0cabec986b7429d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2021738
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Latest commit 086aded Jan 26, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Remove build_apk_secondary_abi from gn files Dec 4, 2019
build_overrides Vulkan: Use volk to load vk* func ptrs Dec 16, 2019
doc Add missing steps in DevSetup Jan 6, 2020
extensions Expose eglGetMscRateCHROMIUM from EGL_CHROMIUM_sync_control Jan 27, 2020
gni Disable ANGLE GL and Vulkan on Windows on ARM Jan 24, 2020
include Expose eglGetMscRateCHROMIUM from EGL_CHROMIUM_sync_control Jan 27, 2020
infra Add UWP bots Jan 10, 2020
samples GN: Move util build code into util/BUILD.gn. Jan 14, 2020
scripts Expose eglGetMscRateCHROMIUM from EGL_CHROMIUM_sync_control Jan 27, 2020
src Return the correct location count for matrices in structs Jan 27, 2020
third_party Remove an unused .gn file. Dec 3, 2019
tools Automatically call flex/bison if necessary Dec 3, 2019
util Expose eglGetMscRateCHROMIUM from EGL_CHROMIUM_sync_control Jan 27, 2020
.clang-format Add script to apply clang-format on all sources Jul 19, 2019
.gitattributes Automatically call flex/bison if necessary Dec 3, 2019
.gitignore Ignore nameless vim swap files Dec 19, 2019
.gn angle: Stop setting secondary_source. May 13, 2019
.style.yapf Format all of ANGLE's python code. May 6, 2019
.yapfignore Add .yapfignore file Oct 14, 2019
AUTHORS Fixing OVR_multiview and OVR_multiview2 issues Jan 15, 2020
BUILD.gn For GGP builds, define __ggp__ manually. Jan 25, 2020
CONTRIBUTORS Fixing OVR_multiview and OVR_multiview2 issues Jan 15, 2020
DEPS Roll third_party/vulkan-loader/src 37d3a235af2c..310fb8617946 (1 comm… Jan 27, 2020
LICENSE Update license and readme for use downstream Mar 27, 2018
OWNERS Add COMPONENT and TEAM information in OWNERS file Oct 9, 2019
PRESUBMIT.py Improve presubmit's Bug: tag check Dec 17, 2019
README.chromium
README.md Add Metal progress to README Nov 11, 2019
WATCHLISTS Add watchlist file for ANGLE. Feb 28, 2019
additional_readme_paths.json Use xxHash for faster hash map lookups. Nov 20, 2018
codereview.settings Use "full" git cl format by default. Oct 24, 2019
dotfile_settings.gni Remove Vulkan repos from exec script whitelist. Oct 20, 2019

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 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS 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 in progress
OpenGL ES 3.0 complete complete complete in progress
OpenGL ES 3.1 in progress complete complete in progress
OpenGL ES 3.2 planned planned planned

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 planned
Chrome OS complete planned
Android complete complete
Fuchsia in progress

ANGLE v1.0.772 was certified compliant by passing the ES 2.0.3 conformance tests in October 2011. ANGLE also provides an implementation of the EGL 1.4 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, 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

You can’t perform that action at this time.