第三方软件angle底层的图形渲染引擎的一部分
| Files | Last commit | Last update |
|---|---|---|
Don't build api_dump for secondary abi on Android 32-bit builds of VK_LAYER_LUNARG_api_dump are extremely slow so skip them when building for arm64. Bug: b/42267058 Change-Id: I8c2d959d86a58537dafa518fb58267b38cda21f4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5842279 Commit-Queue: Roman Lavrov <romanl@google.com> Reviewed-by: Roman Lavrov <romanl@google.com> Reviewed-by: Mark Łobodziński <mark@lunarg.com> | 2 years ago | |
Override use_cxx23 to false in angle Angle must stay in C++20 for longer than Chromium. https://groups.google.com/a/google.com/g/angle-team/c/_SeqZIlTyAQ Bug: chromium:388070065 Change-Id: Ib9e7c39137c6742c84f044e9e0e33a3a37394ea2 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7185708 Auto-Submit: Victor Vianna <victorvianna@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> | 11 months ago | |
D3D: Remove ES3.1 features ES3.1 features (compute shaders, storage buffers, storage images and atomic counter) in the d3d backend and hlsl generator were not completely implemented, and there is no prospect of them ever being done. They are removed in this change to reduce the burden of future work in the translator. Existing support for storage images is kept while the ANGLE_pls extension uses it. Bug: angleproject:463553416 Change-Id: I1afb6ed66c756a651142b641199dd32796d70eb5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7205546 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> | 11 months ago | |
Port constant folding compiler tests to end2end Bug: angleproject:454531087 Change-Id: I532dddb7aa0b48b147609be15ed3491ea8a4cb66 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7080052 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> | 1 year ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
D3D: Remove ES3.1 features ES3.1 features (compute shaders, storage buffers, storage images and atomic counter) in the d3d backend and hlsl generator were not completely implemented, and there is no prospect of them ever being done. They are removed in this change to reduce the burden of future work in the translator. Existing support for storage images is kept while the ANGLE_pls extension uses it. Bug: angleproject:463553416 Change-Id: I1afb6ed66c756a651142b641199dd32796d70eb5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7205546 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> | 11 months ago | |
Translator: Remove NV_shader_framebuffer_fetch This extension is never exposed by ANGLE. AFAICT, it was removed in https://chromium-review.googlesource.com/c/angle/angle/+/688099 and never added again. The current implementation is incorrect even if the extension is exposed; we assume gl_LastFragColorARM is the name, while this extension uses gl_LastFragColor. This change removes mentions of this extension instead of trying to fix it. Bug: angleproject:349994211 Change-Id: I2391a225db95d73579fd71cf261360973e5935f7 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7004390 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> | 1 year ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
add README.OpenSource Co-Authored-By: Agent Change-Id: I7afd9e80ab4740fcb179659874bc8ec074b4c342 Signed-off-by: lizeqiang <lizeqiang4@h-partners.com> | 6 months ago | |
Manual roll Chromium from 64d19a776fb7 to 2bef07d37de2 (202 revisions) Manual roll requested by ynovikov@google.com https://chromium.googlesource.com/chromium/src.git/+log/64d19a776fb7..2bef07d37de2 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC angle-team@google.com,ynovikov@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build: https://chromium.googlesource.com/chromium/src/build.git/+log/a200a59ced..1bd2ee1a98 * buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/629078f56b..d2159f6fbb * testing: https://chromium.googlesource.com/chromium/src/testing/+log/2576331a43..e1aee0f6d9 * third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/7bb12f653a..6202e87ec4 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/13cfd0942d..878734a616 * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/7664d7ccf5..70f4fc348f No update to Clang. Bug: None Tbr: ynovikov@google.com Change-Id: I80d6afa610131163937b53a14f3e4bc65559503d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7210593 Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 11 months ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
Manual roll Chromium from 64d19a776fb7 to 2bef07d37de2 (202 revisions) Manual roll requested by ynovikov@google.com https://chromium.googlesource.com/chromium/src.git/+log/64d19a776fb7..2bef07d37de2 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC angle-team@google.com,ynovikov@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build: https://chromium.googlesource.com/chromium/src/build.git/+log/a200a59ced..1bd2ee1a98 * buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/629078f56b..d2159f6fbb * testing: https://chromium.googlesource.com/chromium/src/testing/+log/2576331a43..e1aee0f6d9 * third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/7bb12f653a..6202e87ec4 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/13cfd0942d..878734a616 * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/7664d7ccf5..70f4fc348f No update to Clang. Bug: None Tbr: ynovikov@google.com Change-Id: I80d6afa610131163937b53a14f3e4bc65559503d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7210593 Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 11 months ago | |
Manual roll Chromium from 64d19a776fb7 to 2bef07d37de2 (202 revisions) Manual roll requested by ynovikov@google.com https://chromium.googlesource.com/chromium/src.git/+log/64d19a776fb7..2bef07d37de2 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC angle-team@google.com,ynovikov@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build: https://chromium.googlesource.com/chromium/src/build.git/+log/a200a59ced..1bd2ee1a98 * buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/629078f56b..d2159f6fbb * testing: https://chromium.googlesource.com/chromium/src/testing/+log/2576331a43..e1aee0f6d9 * third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/7bb12f653a..6202e87ec4 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/13cfd0942d..878734a616 * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/7664d7ccf5..70f4fc348f No update to Clang. Bug: None Tbr: ynovikov@google.com Change-Id: I80d6afa610131163937b53a14f3e4bc65559503d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7210593 Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 11 months ago | |
Manual roll Chromium from 64d19a776fb7 to 2bef07d37de2 (202 revisions) Manual roll requested by ynovikov@google.com https://chromium.googlesource.com/chromium/src.git/+log/64d19a776fb7..2bef07d37de2 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC angle-team@google.com,ynovikov@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build: https://chromium.googlesource.com/chromium/src/build.git/+log/a200a59ced..1bd2ee1a98 * buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/629078f56b..d2159f6fbb * testing: https://chromium.googlesource.com/chromium/src/testing/+log/2576331a43..e1aee0f6d9 * third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/7bb12f653a..6202e87ec4 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/13cfd0942d..878734a616 * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/7664d7ccf5..70f4fc348f No update to Clang. Bug: None Tbr: ynovikov@google.com Change-Id: I80d6afa610131163937b53a14f3e4bc65559503d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7210593 Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 11 months ago | |
Make cl format add braces to ifs and loops Use clang-format InsertBraces: true to add braces to ifs and loops as per the code style. Bug: angleproject:405654904 Change-Id: I6f4329fc3c7e19882db21db7b69aa384f0c493bc Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6383365 Auto-Submit: Kimmo Kinnunen <kkinnunen@apple.com> Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> | 1 year ago | |
Re-enable clang-format for ANGLE. This was disabled globally for Chromium third-party projects, but ANGLE's code generator requires it in order to keep producing well-formatted code. Add a config file to re-enable it. Fixed: angleproject:413695650 Change-Id: If00ce844e3c98fd973f5414204676b7df8a7e321 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6492321 Commit-Queue: Kenneth Russell <kbr@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Auto-Submit: Kenneth Russell <kbr@chromium.org> | 1 year ago | |
Add .git-blame-ignore-revs Bug: angleproject:365820898 Change-Id: I8bdbb9f1d96bd4bb06943406d45eb4476344773b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5851638 Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com> | 2 years ago | |
Capture/Replay: Initial setup for angle_capture_tests Implements the first part (FrameCapture) of the proposal go/frame-capture-and-interpreter-testing Adds a basic test (CapturedTest) with a few frames. This test gets captured by capture_tests.py into a temporary directory and the resulting files are diff'ed with the files under expected/ A diff fails the test. When capture changes, the workflow would be to run the command indicated by the error message in the test which will overwrite the files with new ones so that they can be added to the CL. Example test failure on capture change: https://chromium-swarm.appspot.com/task?id=62b5f4034527c610 when testing https://crrev.com/c/4598046/3 Tests in CI: https://screenshot.googleplex.com/77o8vZVuj8AbFRj Also adds a "angle_capture_tests_trace" lib with the trace just to test that this capture also builds, the lib is not currently loaded by anything. Bug: b/286067106 Change-Id: I7d5f6eed088d84f9e3eb8a72b24b1d92515fff38 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4545408 Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Roman Lavrov <romanl@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> | 3 years ago | |
Roll Chromium from 38d310b39a97 to e01714035bcc (697 revisions) Update JDK version from 17 to 23, needed to use new error_prone from https://chromium-review.googlesource.com/c/chromium/src/+/7076585. Also fix automatically synchronizing JDK with Chromium. Drop update to abseil-cpp since it fails Windows component build. https://chromium.googlesource.com/chromium/src.git/+log/38d310b39a97..e01714035bcc If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC abdolrashidi@google.com,angle-team@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build: https://chromium.googlesource.com/chromium/src/build.git/+log/d3b291259a..c00a961bc1 * buildtools: https://chromium.googlesource.com/chromium/src/buildtools.git/+log/723d636763..c748dde769 * testing: https://chromium.googlesource.com/chromium/src/testing/+log/8c73bb71d8..1d2569eb8a * third_party/android_build_tools/error_prone/cipd: 6P0UeAzMNcir4iSU75DBVRDAuJuek1SOcMplCB9ywdYC..ZnLz1dC-SbH89SjE-rqU0M6wP2Dx8ArcXWWyyU45Jy8C * third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/d0eafb7abd..e0e8064360 * third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/b782473eac..55f9b9536c * third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/8a1ec6a021..cd260a79de * third_party/fuchsia-sdk/sdk: version:29.20251016.3.1..version:29.20251023.3.1 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/cdb24138c1..1fbb0022da * third_party/rust: https://chromium.googlesource.com/chromium/src/third_party/rust/+log/4d93511eba..b54473d104 * tools/android: https://chromium.googlesource.com/chromium/src/tools/android/+log/4524a163c5..d6365fe055 * tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/ab4969a780..97f0845783 * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/dc84e53234..917787b183 * tools/skia_goldctl/linux: RIXw4FW7A5ShxlJQlJy4jtOEd-F4gU_cOKi8Fnw2EpEC..C5hH7dYQuO3062SszdksQtirJFjAzexwuqjacLReHyQC * tools/skia_goldctl/mac_amd64: jBJr91_oRNb0WC7zI4Hobkwt4TduL3jvIYtiB8lUEj8C..ELnDSBvrr14Qkz-HoQRVBRStEd1HvpLZF0VsGlKlnoUC * tools/skia_goldctl/mac_arm64: UTW-EFr99OLuhk4trjmxm2n9RE2E281eYA6QuDZbfv0C..pPhabi_-RX35tyLwh2GfIkvqryBCG3ZoPUSU2gaTQJQC * tools/skia_goldctl/win: VwwL8d8AiCiKHS3J0_wsOVZ-l6UIosK2a4GBgzP6Vn4C..3tkvtWdcjusN9sXn1ults600IvgJpTjBNuxwh3r1NcAC No update to Clang. Bug: None Change-Id: Icb2408f92e28795e9d8ff453d0350aaf795844da Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7082667 Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> | 1 year ago | |
Roll chromium_revision c57f111ea1..fc7a6f6aa1 (1504489:1504499) This includes fixes to several breakages: 1. Change siso path in DEPS due to https://chromium-review.googlesource.com/c/chromium/src/+/6864442 2. For unknown reason, "gclient sync --deps=all" no longer downloads mac dependencies on linux. Change conditions for buildtools/mac and others from host_os to checkout_mac, so that roll_chromium_deps can process these dependencies. 3. Remove third_party/googletest (BUILD.gn) submodule and copy build files from Chromium verbatim. Then add third_party/googletest/src submodule, which was previously added via recursedeps. This is because old structure had to be updated manually, and now we can autoroll googletest. Making this change now, because is_nacl was removed in https://chromium-review.googlesource.com/c/chromium/src/+/6857278 but the corresponding removal from BUILD.gn https://chromium-review.googlesource.com/c/chromium/src/+/6723712 didn't get rolled in due to crbug.com/440040381. Also roll googletest sources while at it. https://chromium.googlesource.com/external/github.com/google/googletest/+log/c67de117379f4d1c889c7581a0a76aa0979c2083..244cec869d12e53378fa0efb610cd4c32a454ec8 4. Use "use_clang_modules = false" to suppress missing includes in LLVM. 5. Add "tools/win" dependency needed for abseil-cpp after https://chromium-review.googlesource.com/c/chromium/src/+/6857983 Change log: https://chromium.googlesource.com/chromium/src/+log/c57f111ea1..fc7a6f6aa1 Full diff: https://chromium.googlesource.com/chromium/src/+/c57f111ea1..fc7a6f6aa1 Changed dependencies * buildtools/mac: git_revision:cc7c61e105fb56183fd6c5c52bbe3c37ff724a0d..git_revision:ee5b7e32b961a9da1933e9f46a018ba6cac8ef60 * buildtools/win: git_revision:cc7c61e105fb56183fd6c5c52bbe3c37ff724a0d..git_revision:ee5b7e32b961a9da1933e9f46a018ba6cac8ef60 * testing: https://chromium.googlesource.com/chromium/src/testing/+log/fb889d0363..62256178de * third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/1e18dc54a0..4862f4f12d * third_party/android_build_tools: https://chromium.googlesource.com/chromium/src/third_party/android_build_tools/+log/f43e2cc47f..d48cf42075 * third_party/android_build_tools/error_prone/cipd: wQ_Wsj0aINAwt4LrHHM6IEnMhVEAdvQtBFtLv7YL4PoC..vPi1VfStH9EQCdbZI5NAMcK7C_dWs3-8Frr1CAzIafEC * third_party/android_build_tools/lint/cipd: XO6ykSsPN632w1Hwz4YCLW0qC1KhVCn53F8FdJeuhKUC..8i-9CpSofgFA-RhKjreXIK0ZbDC8IhGVe2yvxRX0ku4C * third_party/android_build_tools/nullaway/cipd: mFkUqdlIqmMQ3rAaTHFmOBYjNFgFUQOmMlPG6PGgmHYC..Zk_ffB0B6qGrr2ZDKqCxAgnPmo4-5giVRIauRffZaZYC * third_party/android_deps: https://chromium.googlesource.com/chromium/src/third_party/android_deps/+log/973ea8c7c6..8f103008c5 * third_party/android_sdk: https://chromium.googlesource.com/chromium/src/third_party/android_sdk/+log/e71ef403c5..f1c6b36cde * third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/8dc29cff6c..8512c34797 * third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/eddc72dce5..778a576e20 * third_party/fuchsia-sdk/sdk: version:29.20250730.5.1..version:29.20250815.6.1 * third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/6f8fe913d6..91206b4d03 * third_party/libc++abi/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/a6c815c69d..f7f5a32b3e * third_party/libunwind/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git/+log/84c5262b57..bdc00ca63e * third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git/+log/82c07b9654..46fede94c0 * third_party/protobuf: https://chromium.googlesource.com/chromium/src/third_party/protobuf/+log/78c1ca719e..28e24a669f * third_party/r8/cipd: qD5apdNjxRv3dBblf27nEZYf7r_pbLEgfN7hWyXvP_UC..Xyh7Kdh-M2Dj5lwFGH2QRe7TFErRgYCvMFMkPiYnIwsC * third_party/r8/d8/cipd: qD5apdNjxRv3dBblf27nEZYf7r_pbLEgfN7hWyXvP_UC..pBaBgtFdvclLMBwz1H7s88bhc3ioF8iEyFh6rZ81054C * third_party/re2/src: https://chromium.googlesource.com/external/github.com/google/re2.git/+log/85c7c0fb11..6569a9a3df * third_party/rust: https://chromium.googlesource.com/chromium/src/third_party/rust/+log/5de5e7b6ba..cc36abecbc * third_party/turbine/cipd: TkTaFqF4Bs-JmFtxFV_Nfh4u5jh_401ZQsLhC7vIEqQC..9ZS5YYFBth7RSqNe7VLip-qJhk00WoicV_Qb0byHna8C * third_party/zlib: https://chromium.googlesource.com/chromium/src/third_party/zlib/+log/363a126ed2..044b44e6de * tools/android: https://chromium.googlesource.com/chromium/src/tools/android/+log/b44ad70ef5..7d8848041e * tools/clang: https://chromium.googlesource.com/chromium/src/tools/clang.git/+log/9d91ec919b..f10114ce19 * tools/luci-go: git_revision:2aa8d904a9f8cc8891d2710e4cf58156057fa4b3..git_revision:230495e01666a7468ff6803179519a5c93317083 * tools/luci-go: git_revision:2aa8d904a9f8cc8891d2710e4cf58156057fa4b3..git_revision:230495e01666a7468ff6803179519a5c93317083 * tools/luci-go: git_revision:2aa8d904a9f8cc8891d2710e4cf58156057fa4b3..git_revision:230495e01666a7468ff6803179519a5c93317083 * tools/mb: https://chromium.googlesource.com/chromium/src/tools/mb/+log/c5719eb114..513bc2117e * tools/perf: https://chromium.googlesource.com/chromium/src/tools/perf/+log/c1a26b544f..88de4dbaab * tools/rust: https://chromium.googlesource.com/chromium/src/tools/rust.git/+log/fa1df48579..f2fba99158 * tools/skia_goldctl/linux: 84tAKAqEtqjebJywg8jyXDWUVodNBYZraFt9RZ0A2pwC..46Onf_f3s_Mr84pViZFnexVYU47ArSn3knDqNZcIoYsC * tools/skia_goldctl/mac_amd64: dpgLOuWsqpBYSIj44DbnlJD7fnp640TD4cprUlwV0VMC..itdWmANhuoNsgIG1DuIe7XMdwQR4Vc9kkznuHSuPOekC * tools/skia_goldctl/mac_arm64: AU5OTil4VjYO94g8-Jhq02qBoLka6t-JsgKKEzllcy8C..aFRLGxnuqC86Y3ejs72PnkJfG0caCnrl72QiuxJ1XbkC * tools/skia_goldctl/win: DW55Ki0OZtTTzxrsItNbFeB9IDA9GBVXB647W6SOLN4C..sYuoNL-siny-CypUt4LuqE25k1hWho4rLa3T7ikBQAoC DEPS diff: https://chromium.googlesource.com/chromium/src/+/c57f111ea1..fc7a6f6aa1/DEPS No update to Clang. Bug: chromium:440040381, angleproject:40041909, angleproject:439777063 Change-Id: Id814e849a08a1533c246ed9d1803f8b7c90fa68b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6870430 Reviewed-by: Geoff Lang <geofflang@chromium.org> Auto-Submit: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> | 1 year ago | |
Translator: Implement an IR The ANGLE compiler parses GLSL ES shaders and produces an Abstract Syntax Tree (AST). The use of AST is deceptively simple, as the structure of this representation always matches the equivalent text representation. This simplicity can make the compiler initially more approachable. However, as compiler research, modern compiler best practices, and our own experiences with the ANGLE compiler have shown, ASTs are harder to analyze and transform. For example: * Struct definitions may be in a number of surprising places in GLSL, such as a function’s return type. Reflecting this fact in the AST makes it tricky to apply transformations to the struct. * The inability to include arbitrary blocks of code in many locations such as inside an if condition turns simple transformations (such as caching an expression with a side effect inside a temporary variable) into complex ones with many corner cases. Instead, modern compilers include an Internal Representation (IR) that is potentially far removed from the textual syntax of the language. This comes with numerous benefits, such as the freedom to simplify and rearrange type definitions, the flexibility of instruction flow structure, etc, which in turn make more complex operations (such as dead-code elimination) less burdensome. In some projects, IRs also allow the compiler to handle multiple textual formats (otherwise known as front-ends). While generating an IR from text is typically not complicated, one possibly challenging aspect of IRs is going back to a textual representation if needed (such as generating glsl, msl or hlsl in the case of ANGLE), as the textual representation includes restrictions that do not exist in the IR. Given the number of bugs (security or otherwise) that constantly affect ANGLE, there is a need for an IR to finally modernize this codebase. The new WGSL backend for the translator is plagued with the same complications that the SPIR-V generator has faced (such as lack of ability to write to a swizzle expression), with extremely complicated or in some cases no clear way of implementing them in the AST, so an IR would simplify/unblock that work. Finally, some needed optimizations (such as cross-stage dead-code elimination) are needed for the ANGLE-for-Android project, but are extremely difficult to do with the AST. It’s time the translator was written to be based on an IR. ANGLE implements its own IR instead of reusing existing ones, such as SPIR-V, mesa's NIR, or Tint's IR, because: * It can be simpler e.g. compared to SPIR-V's highly flexible branching * It can be tailored to ESSL e.g. compared to Tint's IR * It can be in complete control e.g. compared to mesa's NIR This change implements the following: * GLSL->IR generation during parse * IR transformation utilities, debug dump, documentation (see src/compiler/translator/ir/doc/README.md) * An "astify" transformation that makes the IR suitable for AST and text-based output generation * IR->AST generation after parse The current AST generation during parse is still maintained because: * It's used by validation, but that will ultimately be made unnecessary after the following point is no longer needed. * It's simpler to keep the AST generation while the no-IR path is still supported. With the rountrip through IR, a dozen transformations that try to make the AST more malleable are made unnecessary. However, at this point when the IR is enabled, the overhead of creating it is present, while the transformations are still complex and based on the AST. The IR is disabled until almost all transformations are ported and at least SPIR-V generation is done directly from the IR. To enable the IR, set angle_ir = true in args.gn. Nearly all tests pass with the IR enabled, though a few failures remain to be diagnosed. One particular follow up fix is to port our compiler unittests to end2end tests: * They assume too much about the internals of the compiler, which is completely overhauled now * The validation is too simplistic, where often transformation bugs are discovered only after trying to use the shader in a draw call (where multiple backends actually give the translator output to the native driver/compiler) Bug: angleproject:349994211 Change-Id: I2ce917bf956d40af4545473b4a9068cf295878be Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5898761 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org> | 1 year ago | |
Translator: Implement an IR The ANGLE compiler parses GLSL ES shaders and produces an Abstract Syntax Tree (AST). The use of AST is deceptively simple, as the structure of this representation always matches the equivalent text representation. This simplicity can make the compiler initially more approachable. However, as compiler research, modern compiler best practices, and our own experiences with the ANGLE compiler have shown, ASTs are harder to analyze and transform. For example: * Struct definitions may be in a number of surprising places in GLSL, such as a function’s return type. Reflecting this fact in the AST makes it tricky to apply transformations to the struct. * The inability to include arbitrary blocks of code in many locations such as inside an if condition turns simple transformations (such as caching an expression with a side effect inside a temporary variable) into complex ones with many corner cases. Instead, modern compilers include an Internal Representation (IR) that is potentially far removed from the textual syntax of the language. This comes with numerous benefits, such as the freedom to simplify and rearrange type definitions, the flexibility of instruction flow structure, etc, which in turn make more complex operations (such as dead-code elimination) less burdensome. In some projects, IRs also allow the compiler to handle multiple textual formats (otherwise known as front-ends). While generating an IR from text is typically not complicated, one possibly challenging aspect of IRs is going back to a textual representation if needed (such as generating glsl, msl or hlsl in the case of ANGLE), as the textual representation includes restrictions that do not exist in the IR. Given the number of bugs (security or otherwise) that constantly affect ANGLE, there is a need for an IR to finally modernize this codebase. The new WGSL backend for the translator is plagued with the same complications that the SPIR-V generator has faced (such as lack of ability to write to a swizzle expression), with extremely complicated or in some cases no clear way of implementing them in the AST, so an IR would simplify/unblock that work. Finally, some needed optimizations (such as cross-stage dead-code elimination) are needed for the ANGLE-for-Android project, but are extremely difficult to do with the AST. It’s time the translator was written to be based on an IR. ANGLE implements its own IR instead of reusing existing ones, such as SPIR-V, mesa's NIR, or Tint's IR, because: * It can be simpler e.g. compared to SPIR-V's highly flexible branching * It can be tailored to ESSL e.g. compared to Tint's IR * It can be in complete control e.g. compared to mesa's NIR This change implements the following: * GLSL->IR generation during parse * IR transformation utilities, debug dump, documentation (see src/compiler/translator/ir/doc/README.md) * An "astify" transformation that makes the IR suitable for AST and text-based output generation * IR->AST generation after parse The current AST generation during parse is still maintained because: * It's used by validation, but that will ultimately be made unnecessary after the following point is no longer needed. * It's simpler to keep the AST generation while the no-IR path is still supported. With the rountrip through IR, a dozen transformations that try to make the AST more malleable are made unnecessary. However, at this point when the IR is enabled, the overhead of creating it is present, while the transformations are still complex and based on the AST. The IR is disabled until almost all transformations are ported and at least SPIR-V generation is done directly from the IR. To enable the IR, set angle_ir = true in args.gn. Nearly all tests pass with the IR enabled, though a few failures remain to be diagnosed. One particular follow up fix is to port our compiler unittests to end2end tests: * They assume too much about the internals of the compiler, which is completely overhauled now * The validation is too simplistic, where often transformation bugs are discovered only after trying to use the shader in a draw call (where multiple backends actually give the translator output to the native driver/compiler) Bug: angleproject:349994211 Change-Id: I2ce917bf956d40af4545473b4a9068cf295878be Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5898761 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org> | 1 year ago | |
Update yapf style from "chromium" to "yapf" yapf v0.30.0 renamed "chromium" style to "yapf". Bug: chromium:1306598 Change-Id: I107c16b965beaf5269f64149da4a097267867c2a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4289948 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Auto-Submit: Thiago Perrotta <tperrotta@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> | 3 years ago | |
[angle] Bump vpython from 3.8 to 3.11 Also requires upgrading some packages. Bug: chromium:40249958 Change-Id: I9ba078a41235cf8b293a49155740f58b14dd392b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6909333 Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com> Commit-Queue: Amirali Abdolrashidi <abdolrashidi@google.com> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Auto-Submit: Victor Vianna <victorvianna@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> | 1 year ago | |
Add .yapfignore file Adds a .yapfignore file so that Python files can be excluded from "git cl format". This currently only ignores scripts/export_targets.py since its use of Python 3 causes issues. This requires depot_tools revision 59b06a838a4e06c43075db252921f4bd45f7f673 or later to work, as .yapfignore files were unused until then. Bug: angleproject:3985 Change-Id: Ib9e10f6b5d6baf6b87e7edd0525885553508829d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1860319 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> | 6 years ago | |
Get GPU revision id with PCI_FILL_CLASS_EXT On a dual GPU scenario (laptop), PCIReadByte starts the discrete GPU. The new PCI_FILL_CLASS_EXT doesn't require the GPU to start. Bug: chromium:456770288 Change-Id: Ib6eec94b68c92582053a7636753385f90ef413c6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7157196 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> | 11 months ago | |
Remove .find_ignore files Remove .find_ignore files so that the Soong Finder searches the whole tree again (needed for Bazel support) Test: TH Bug: b/188491905 Change-Id: I6df2cecebf3f82120bb90353aeb08f6b40cf30be Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2906252 Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Geoff Lang <geofflang@chromium.org> | 5 years ago | |
2026.03.30 arkweb_144代码蓝黄同步 Signed-off-by: jiujiaoxiaogula <sujiahao10@huawei.com> Change-Id: I9dc17c365d1e04e143eb123caa99a0da36bc7805 | 7 months ago | |
Get GPU revision id with PCI_FILL_CLASS_EXT On a dual GPU scenario (laptop), PCIReadByte starts the discrete GPU. The new PCI_FILL_CLASS_EXT doesn't require the GPU to start. Bug: chromium:456770288 Change-Id: Ib6eec94b68c92582053a7636753385f90ef413c6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7157196 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> | 11 months ago | |
Roll vulkan-deps from d1eb1a06c1ed to 84949a3e6598 (12 revisions) https://chromium.googlesource.com/vulkan-deps.git/+log/d1eb1a06c1ed..84949a3e6598 Also rolling transitive DEPS: https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/8a67272ca6c266b21dd0a9548471756a237ebbef..f410b3c178740f9f5bd28d5b22a71d4bc10acd49 https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers/+log/093b34b0801da9759645e6f179f89038d0c1e721..089cdbbe0903fb1b60025560cd636a7d7640e35e If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/vulkan-deps-angle-autoroll Please CC angle-team@google.com,cnorthrop@google.com on the revert to ensure that a human is aware of the problem. To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Bug: None Tbr: cnorthrop@google.com Change-Id: Ice3aa1b68104ec35d62e9c14531593f1120b77c1 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7213138 Bot-Commit: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com> | 11 months ago | |
tools: add buganizer to DIR_METADATA Bug: chromium:341800538 Change-Id: Idca0232304e4fe1342f880a4a0e179aa7971fdab Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6030569 Reviewed-by: Roman Lavrov <romanl@google.com> Commit-Queue: Roman Lavrov <romanl@google.com> | 1 year ago | |
Update license and readme for use downstream Bug:angleproject:2438 Bug:angleproject:2437 Change-Id: I1b41882b42e8bc30df8e8ae47e0af67ec266f7d5 Reviewed-on: https://chromium-review.googlesource.com/982382 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org> | 8 years ago | |
Revert "Remove dupe dependency: vulkan-deps" This reverts commit 43f8d708b87446d233640ad27abf8c1b4a7d68dc. Reason for revert: breaks autoroll Bug: chromium:433839081 Original change's description: > Remove dupe dependency: vulkan-deps > > Credit rop@ > > Bug: chromium:433839081 > Change-Id: Ibea08597e3490dcd374d386b8ae165b7399bd972 > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6776852 > Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> > Commit-Queue: Geoff Lang <geofflang@chromium.org> > Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org> > Reviewed-by: Geoff Lang <geofflang@chromium.org> Bug: chromium:433839081 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I4cb65820ac8fe25c19efa186b5864c6f2eaadc94 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6786933 Auto-Submit: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> | 1 year ago | |
Port needs-#extension compiler tests to end2end Bug: angleproject:454531087 Change-Id: I303f614a61f74dc1e3da25acf7c3a72db714df48 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7125400 Commit-Queue: Yuxin Hu <yuxinhu@google.com> Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Yuxin Hu <yuxinhu@google.com> | 11 months ago | |
add README.OpenSource Co-Authored-By: Agent Change-Id: I7afd9e80ab4740fcb179659874bc8ec074b4c342 Signed-off-by: lizeqiang <lizeqiang4@h-partners.com> | 6 months ago | |
Tidy up some README.chromium files in Angle. Backfills the Update Mechanism field for dependencies and cleans up some of the other fields which are out of date. Bug: chromium:379934539 Change-Id: I9a952e905ce00c379c4d593dd67b7e0fc6f1794e Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6981101 Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> | 1 year ago | |
D3D: Remove ES3.1 features ES3.1 features (compute shaders, storage buffers, storage images and atomic counter) in the d3d backend and hlsl generator were not completely implemented, and there is no prospect of them ever being done. They are removed in this change to reduce the burden of future work in the translator. Existing support for storage images is kept while the ANGLE_pls extension uses it. Bug: angleproject:463553416 Change-Id: I1afb6ed66c756a651142b641199dd32796d70eb5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/7205546 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> | 11 months ago | |
Add downstream to watch ANGLE feature changes Bug: b/417527313 Change-Id: Idb36f7bac0c25391752a35cf5ed2ad99e6a6a636 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6594071 Auto-Submit: Kaiyi Li <kaiyili@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Charlie Lao <cclao@google.com> | 1 year ago | |
Remove obsolete additional_readme_paths.json entries src/third_party/compiler was removed in crrev.com/c/2940902. I don't know when third_party/vulkan_memory_allocator was removed, but it also doesn't exist anymore. Bug: None Change-Id: Ib2216c2fd111de4545f600dc3ba82bbab24f169d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4275341 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> | 3 years ago | |
Use "full" git cl format by default. This uses the new setting added to depot_tools. The diff lines of context setting was removed. Bug: angleproject:4003 Change-Id: I6f7d471d3cce066cd3a6caa200828d09ccfca5ae Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1879577 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org> | 6 years ago | |
Remove exec_script_whitelist from dotfile_settings.gni. All of the clients of this file have been updated to use exec_script_allowlist, so we no longer need to set exec_script_whitelist as well. Bug: chromium:389986807 Change-Id: Ifb5ce794e4329b54e5a91ca658c41ce9ba038c4d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6441919 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Dirk Pranke <dpranke@google.com> | 1 year ago | |
Suppress unsafe buffers on a file-by-file basis in util/ Bug: b/436880895 Change-Id: I299247e38853bb16afd466e3f6521342c0a2b0f8 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6891980 Auto-Submit: Tom Sepez <tsepez@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org> | 1 year ago |
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 | complete | |
| OpenGL ES 3.1 | complete | complete | complete | |||
| OpenGL ES 3.2 | in progress | in progress | complete |
Additionally, OpenGL ES 1.1 is implemented in the front-end using OpenGL ES 3.0 features. This version of the specification is thus supported on all platforms specified above that support OpenGL ES 3.0 with known issues.
Platform support via backing renderers
| Direct3D 9 | Direct3D 11 | Desktop GL | GL ES | Vulkan | Metal | WebGPU | |
|---|---|---|---|---|---|---|---|
| Windows | complete | complete | complete | complete | complete | ||
| Linux | complete | complete | |||||
| Mac OS X | complete | complete [1] | |||||
| iOS | complete [2] | ||||||
| Chrome OS | complete | planned | |||||
| Android | complete | complete | |||||
| Fuchsia | complete |
[1] Metal is supported on macOS 10.14+
[2] Metal is supported on iOS 12+
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)
- OpenGL ES 3.2: ANGLE 2.1.2.21688.59f158c1695f (Sept, 2023)
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.
OpenCL Implementation
In addition to OpenGL ES, ANGLE also provides an optional OpenCL runtime built into the same
output GLES lib.
This work/effort is currently work-in-progress/experimental.
This work provides the same benefits as the OpenGL implementation, having OpenCL APIs be translated to other HW-supported APIs available on that platform.
Level of OpenCL support via backing renderers
| Vulkan | OpenCL | |
|---|---|---|
| OpenCL 1.0 | in progress | in progress |
| OpenCL 1.1 | in progress | in progress |
| OpenCL 1.2 | in progress | in progress |
| OpenCL 3.0 | in progress | in progress |
Each supported backing renderer above ends up being an OpenCL Platform for the user to choose from.
The OpenCL backend is a "passthrough" implementation which does not perform any API translation
at all, instead forwarding API calls to other OpenCL driver(s)/implementation(s).
OpenCL also has an online compiler component to it that is used to compile OpenCL C source code at runtime
(similarly to GLES and GLSL). Depending on the chosen backend(s), compiler implementations may vary. Below is
a list of renderers and what OpenCL C compiler implementation is used for each:
Vulkan: clspvOpenCL: Compiler is part of the native driver
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
-
Join our Google group to keep up to date.
-
Join us on Slack in the #angle channel. You can follow the instructions on the Chromium developer page for the steps to join the Slack channel. For Googlers, please follow the instructions on this document to use your google or chromium email to join the Slack channel.
-
File bugs in the issue tracker (preferably with an isolated test-case).
-
Choose an ANGLE branch to track in your own project.
-
Read ANGLE development documentation.
-
Become a code contributor.
-
Use ANGLE's coding standard.
-
Learn how to build ANGLE for Chromium development.
-
Get help on debugging ANGLE.
-
Go through ANGLE's orientation and sift through issues. If you decide to take on any task, write a comment so you can get in touch with us, and more importantly, set yourself as the "owner" of the bug. This avoids having multiple people accidentally working on the same issue.
-
Read about WebGL on the Khronos WebGL Wiki.
-
Learn about the internals of ANGLE:
- Overview with a focus on the Vulkan backend (2022)
- A short presentation on the Vulkan back-end (2018).
- Historical presentation on the evolution of ANGLE and its use in Chromium
- Historical presentation with a focus on D3D
- The details of the initial implementation of ANGLE in the OpenGL Insights chapter on ANGLE (these details are severely out-of-date, and this reference is listed here for historical reference only)
-
Read design docs on the Vulkan back-end
-
Read about ANGLE's testing infrastructure
-
View information on ANGLE's supported extensions
-
If you use ANGLE in your own project, we'd love to hear about it!