A conformant OpenGL ES implementation for Windows, Mac and Linux.
Перейти к файлу
Jamie Madill cfc73cc1af Correct subImage uses of texture type -> target.
Texture "types" are the same as texture "targets" except for cube maps.
Cube map targets specify a single face. Cube map types specify a whole
cube map. The subImage functions should take a target instead of a
type. We were using both in different places. This CL corrects all uses
in subImage calls to "target". It also adds a helper for getting a
target texture from a target. And clarifies the naming of the texture
query methods.

Bug: angleproject:3356
Change-Id: I06eb5c5666eec9b8934becf2ba57a066d5cdabde
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1558672
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2019-04-11 22:11:50 +00:00
android Reland "Roll Vulkan repos" 2019-03-01 21:16:29 +00:00
build_overrides Add a mac_toolchain update DEP. Update use_system_xcode to match Chrome. 2019-04-02 16:43:04 +00:00
doc Formalize preference for handling generated code. 2019-04-09 14:13:14 +00:00
extensions Mac: Support using an IOSurface as the default framebuffer 2019-04-03 00:02:36 +00:00
gni Vulkan:Optimize SecondaryCommandBuffers 2019-03-22 18:54:30 +00:00
include Vulkan: Expose GL_EXT_memory_object_fd & GL_EXT_semaphore_fd 2019-04-10 16:07:24 +00:00
infra Minor update to auto-roller infra docs. 2019-04-10 17:09:31 +00:00
samples Introduce ConfigParameters test helper struct. 2019-03-20 16:54:53 +00:00
scripts Correct subImage uses of texture type -> target. 2019-04-11 22:11:50 +00:00
src Correct subImage uses of texture type -> target. 2019-04-11 22:11:50 +00:00
third_party Vulkan: roll Vulkan repos to v1.1.102 2019-03-28 04:47:51 +00:00
tools/glslang Add support for updating glslang_validator binary from Linux. 2019-04-09 02:01:10 +00:00
util Generate entrypoints for GL_EXT_memory_object_fd & GL_EXT_semaphore_fd 2019-04-05 04:44:47 +00:00
.clang-format Update clang-format settings. 2018-11-26 19:14:45 +00:00
.gitattributes Make .gni files always use LF endings. 2019-02-08 22:36:41 +00:00
.gitignore Add support for updating glslang_validator binary from Linux. 2019-04-09 02:01:10 +00:00
.gn Add a mac_toolchain update DEP. Update use_system_xcode to match Chrome. 2019-04-02 16:43:04 +00:00
AUTHORS D3D11 fix: Mipmapping was used although disabled via Sampler 2018-08-15 19:04:20 +00:00
BUILD.gn Vulkan:Integrate SecondaryCommandBuffers 2019-03-21 15:02:33 +00:00
CONTRIBUTORS ES31: Support for GL_BUFFER_DATA_SIZE on GL_ATOMIC_COUNTER_BUFFER in D3D 2019-01-10 21:21:45 +00:00
DEPS Roll ./third_party/spirv-tools/src d90aae9a5a6c..82ebbbba15c2 (2 commits) 2019-04-10 07:49:05 +00:00
LICENSE Update license and readme for use downstream 2018-03-27 20:53:53 +00:00
OWNERS Add COMPONENT to OWNERS 2019-03-18 19:32:27 +00:00
PRESUBMIT.py Use revision.h for glslang dirty checks. 2019-04-02 15:25:02 +00:00
README.chromium Update license and readme for use downstream 2018-03-27 20:53:53 +00:00
README.md Add Orientation and Starter-Projects docs 2019-03-05 20:34:13 +00:00
WATCHLISTS Add watchlist file for ANGLE. 2019-02-28 15:47:54 +00:00
additional_readme_paths.json Use xxHash for faster hash map lookups. 2018-11-20 16:37:07 +00:00
codereview.settings Set GERRIT_SQUASH_UPLOADS to False. 2016-06-17 18:19:41 +00:00
dotfile_settings.gni Gyp is dead. Long live gn. 2018-08-29 19:26:38 +00:00

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
OpenGL ES 2.0 complete complete complete complete in progress
OpenGL ES 3.0 complete complete in progress not started
OpenGL ES 3.1 not started in progress in progress not started

Platform support via backing renderers

Direct3D 9 Direct3D 11 Desktop GL GL ES Vulkan
Windows complete complete complete complete in progress
Linux complete in progress
Mac OS X in progress
Chrome OS complete planned
Android complete 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