Commit Graph
181 Commits
Author SHA1 Message Date
Cody Northrop ae1a56b679 Vulkan: Turn on GL_EXT_shader_framebuffer_fetch for ARM
On ARM, coherent is the default behavior of framebuffer fetch, so
we can expose the GL extension.

Tests: Dead By Daylight app and trace
Bug: b/201764768
Bug: angleproject:6870
Bug: angleproject:6872
Change-Id: I0f98c57e20619d73d1507c4655e7f9bb8c10a53a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3371244
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2022-01-07 19:00:54 +00:00
Roman Lavrov ccabfd1407 out\Debug -> out/Debug, like in other places
Bug: angleproject:1944
Change-Id: I7abd8864d2176e69214a9a56359904fdd414ee9c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3367703
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Roman Lavrov <[email protected]>
2022-01-05 23:46:02 +00:00
Alexey Knyazev 0a6b789745 Add macOS support to update_chrome_angle.py
Bug: angleproject:1944
Change-Id: I3e2503b462df82ffa2bef3814b1979448dee09e9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3358242
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
2022-01-02 12:43:08 +00:00
Jamie Madill 0331738b4f Fix extension download script, and update data.
This includes the update to the NV 1660s, and Intel driver update,
and automatically gathered SwiftShader data.

Bug: angleproject:6853
Change-Id: I481918105fd0e0224a2e2ddf5175b38e97918195
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3360784
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-12-30 21:05:46 +00:00
Maksim Sisov c7446ac423 Add support for GL_MESA_framebuffer_flip_y 1/*
LaCrOS, which is same as ChromeOS, relies on this
extension and uses that with WebGL content.

However, when LaCrOS uses ANGLE, the extension is
not exposed and the WebGL content is y-inverted as
direct scanout is always used.

There are two bugs - 1) ANGLE should expose the
extension so that direct scanout is possible
(this CL fixes the issue. 2) LaCrOS shouldn't rely
on the extension if it's not available (a bug to
be fixed in Chromium).

This particular CL consists of autogen files with
framebufferParameteriMESA &&
getFramebufferParameterivMESA in Context
marked as UNIMPLEMENTED. And also unimplemented
validation.

Bug: chromium:1231934
Change-Id: Id617846b0412f579df5b4ace6cb33c1ec6d403df
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3343492
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Maksim Sisov <[email protected]>
2021-12-16 15:34:05 +00:00
Yuly Novikov f64f9546ae Reland "Decouple gl_BaseVertex/gl_BaseInstance uniforms"
This reverts commit 10e5f34d14.

Reason for revert: exonerated from flaky crash suspect

Original change's description:
> Revert "Decouple gl_BaseVertex/gl_BaseInstance uniforms"
>
> This reverts commit 36bf1ebe5e.
>
> Reason for revert: suspect causing flaky crashes
>
> Bug: angleproject:6763
>
> Original change's description:
> > Decouple gl_BaseVertex/gl_BaseInstance uniforms
> >
> > These are builtin uniforms removed in
> > https://github.com/KhronosGroup/WebGL/pull/3278
> >
> > Decouple them from the original ANGLE_base_vertex_base_instance
> > extension.
> >
> > Make a new ANGLE_base_vertex_base_instance_shader_builtin
> > extension for these builtin uniforms.
> >
> > Bug: angleproject:3402
> > Change-Id: I77b93917976ce435db9c578c0ade37bff18a42b0
> > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3290304
> > Commit-Queue: Shrek Shao <[email protected]>
> > Reviewed-by: Geoff Lang <[email protected]>
> > Reviewed-by: Kenneth Russell <[email protected]>
>
> Bug: angleproject:3402
> Change-Id: I75830baa14cf4e7c53750fd14ff76501145b4823
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3315610
> Bot-Commit: Rubber Stamper <[email protected]>
> Reviewed-by: Yuly Novikov <[email protected]>
> Reviewed-by: Kenneth Russell <[email protected]>
> Commit-Queue: Shrek Shao <[email protected]>

Bug: angleproject:6763
Bug: angleproject:3402
Change-Id: Ie436dc5d55364e464897d407a53b793941cd5d0b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3321703
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-12-07 21:17:07 +00:00
Shrek Shao 10e5f34d14 Revert "Decouple gl_BaseVertex/gl_BaseInstance uniforms"
This reverts commit 36bf1ebe5e.

Reason for revert: suspect causing flaky crashes

Bug: angleproject:6763

Original change's description:
> Decouple gl_BaseVertex/gl_BaseInstance uniforms
>
> These are builtin uniforms removed in
> https://github.com/KhronosGroup/WebGL/pull/3278
>
> Decouple them from the original ANGLE_base_vertex_base_instance
> extension.
>
> Make a new ANGLE_base_vertex_base_instance_shader_builtin
> extension for these builtin uniforms.
>
> Bug: angleproject:3402
> Change-Id: I77b93917976ce435db9c578c0ade37bff18a42b0
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3290304
> Commit-Queue: Shrek Shao <[email protected]>
> Reviewed-by: Geoff Lang <[email protected]>
> Reviewed-by: Kenneth Russell <[email protected]>

Bug: angleproject:3402
Change-Id: I75830baa14cf4e7c53750fd14ff76501145b4823
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3315610
Bot-Commit: Rubber Stamper <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Shrek Shao <[email protected]>
2021-12-04 00:59:38 +00:00
Shrek Shao 36bf1ebe5e Decouple gl_BaseVertex/gl_BaseInstance uniforms
These are builtin uniforms removed in
https://github.com/KhronosGroup/WebGL/pull/3278

Decouple them from the original ANGLE_base_vertex_base_instance
extension.

Make a new ANGLE_base_vertex_base_instance_shader_builtin
extension for these builtin uniforms.

Bug: angleproject:3402
Change-Id: I77b93917976ce435db9c578c0ade37bff18a42b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3290304
Commit-Queue: Shrek Shao <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2021-12-02 00:01:49 +00:00
Yuly Novikov 9d91064d6c Document using Rubber Stamper for test expectations CLs
Also includes a small update about FLAKY expectations.

Bug: angleproject:6740
Change-Id: I4df6534412e3720fb9f7bdeeadc555892016b7fb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3308830
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2021-12-01 15:35:05 +00:00
Tim Van Patten ef65edf2f2 Add extension: ANGLE_rgbx_internal_format
Add the extension ANGLE_rgbx_internal_format, which exposes the ANGLE
internal format GL_RGBX8_ANGLE. The format GL_RGBX8_ANGLE enables
emulating RGB8 formats with RGBA8 within ANGLE.

This also renames the format GL_RGBX8_ANGLEX to GL_RGBX8_ANGLE, since
it's being exposed.

Bug: angleproject:6690
Test: Texture2DTestES3.TextureRGBXImplicitAlpha1
Change-Id: I5548a3578a14e2f2a4006bbf59983b01f694b7f3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3296625
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-11-30 01:41:05 +00:00
Peng Huang a5e391d744 Add GL_ANGLE_vulkan_image extension
glAcquireTextures & glReleaseTextures are added for sharing
texture ownership with an external API.

Bug: chromium:1264439
Change-Id: If46d8d230b4f611768b5ff1187674509e42f01e0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3293921
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2021-11-29 21:09:46 +00:00
Amirali Abdolrashidi ae3f67ab4a Implement GL_EXT_multi_draw_indirect
* Auto-generated the code to lay the foundation for
the following functions:
  * multiDrawArraysIndirect()
  * multiDrawElementsIndirect()

Bug: angleproject:6439
Change-Id: I7ab5111692376229515e0d6d9e6148909ce9a8a1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3276042
Commit-Queue: Amirali Abdolrashidi <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-11-12 23:01:15 +00:00
Shahbaz Youssefi 39f7e9b42b Doc: Clarify purpose of listed build options in DevSetup.md
This file lists a number of commonly overriden build options for
development or special platforms, but was mistakenly taken as a set of
"recommended" options.

Bug: angleproject:1944
Change-Id: Ia50b45724797d5ab071936997b485f9f80a72704
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3234079
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-10-21 19:58:24 +00:00
Jamie Madill 7ef9ecf0a6 Add GL_ANGLE_robust_fragment_shader_output.
This extension codifies expected behaviour on Android, where some
applications don't declare shader outputs that are active with the
Framebuffer.

Bug: angleproject:6566
Change-Id: I3538a0aca25b6567e4b11e40d4611f1b240579c7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3226724
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-10-21 14:55:14 +00:00
YuxinHu bf74475217 README.md maintenance
-Mark the document OpenGL Insights chapter on ANGLE as historical
reference.
-Modify the visual studio build instruction in ANGLE'S orientation link.
-Point the Start Projects link to the angle starter bug lists.
-Remove doc/Starter-Projects.md.
 (most bugs listed in Starter-Projects.md are closed.
  mark bugs 2734, 2556, 2506 as starter bugs.
  remove link to WebGL conformance on Windows as they are outdated)
-Remove IRC channel join info.
-Add more instructions on how to join Angle Slack channel.
-Add warning indicating the iframe tags are not displayed properly in
doc/dEQP-Charts.md.

Bug: angleproject:6509
Change-Id: Idd4364fe48b506b44d3a2b40fa0e6ebd9e810a1b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3204132
Commit-Queue: Yuxin Hu <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2021-10-13 23:21:56 +00:00
YuxinHu d4c7b5946a Add fixes on the doc based on Jamie's Suggestions
This is a follow up change based on comments Jamie
provided in a previous change list:
https://chromium-review.googlesource.com/c/angle/angle/+/3204430.

Fixes include:
1. Wrap each line into 80 characters.
2. Add links to project files.
3. Add one more future work.
4. Modify the two simple wordings.

Bug: angleproject:6508
Change-Id: I84a5694682d8871ebb46c4dfe245399021e0cff7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3219715
Commit-Queue: Yuxin Hu <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-10-13 22:54:56 +00:00
YuxinHu 1fa59e56ab Add Overlay Debug Document
Import the documentation go/vangle-debug-overlay as markdown

Bug: angleproject:6508
Change-Id: I1ecf9e6d4fd2c1b47c6e8f367390fcb72d7ecfe7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3204430
Commit-Queue: Yuxin Hu <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-10-09 01:01:20 +00:00
Lingfeng Yang 8f9b6d29a7 Add advice to download commit-msg hook
Thought this was taken care of with `gclient sync` but it seems like a
manual download is needed now.

Bug: angleproject:6517
Change-Id: I87499149b810c873827883628104963178a14fed
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3203171
Commit-Queue: Lingfeng Yang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2021-10-07 13:44:05 +00:00
Lingfeng Yang 83613eb05d Add advice to cipd auth-login on macOS for Googlers
Bug: angleproject:6516
Change-Id: I9ab1d0b5c0b64a2310b2e01263bb94e157991cde
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3203170
Commit-Queue: Lingfeng Yang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
2021-10-06 22:07:50 +00:00
Shahbaz Youssefi bab0e7171f Update script to install ANGLE binaries in installed Chromium
Useful when debugging a WebGL test, the script that installs ANGLE
binaries in Chrome Canary on Windows is updated to also allow installing
ANGLE binaries in Chrome Dev on Linux.  On Linux, the script needs to
run as root.

Bug: angleproject:6507
Change-Id: I812d3a85528217dab478b1e8a0f266ae231f10af
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3202554
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-10-05 20:32:28 +00:00
Jamie Madill 2c9226e6ca Add docs on how to request CQ/issue tracker access.
Bug: angleproject:3096
Change-Id: I375c19826855ad10d94ae24c8f32a06df93245aa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3202477
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-10-05 11:52:16 +00:00
Jamie Madill f9410d5ef0 Update shader translator docs.
Bug: angleproject:528
Change-Id: I73cea8b2127abfe6ffa363f7abaabe039290c680
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3199995
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-10-04 17:12:39 +00:00
Ian Elliott 7c1622ca37 Fix links with Handling Test Failures CL
After landing
https://chromium-review.googlesource.com/c/angle/angle/+/3192171, I
clicked on all of the new links and found a few problems, which this
CL fixes.

Bug: angleproject:6462
Change-Id: I57a440fa8d8c3554c4ae05222e9a174c0e3a3314
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3200286
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-10-01 23:33:57 +00:00
Ian Elliott 61dc7698a4 Add documentation about suppressing test failures
Bug: angleproject:6462
Change-Id: Ia46f58ea66ec3e2b50fca91a645fe0e8969689d0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3192171
Commit-Queue: Ian Elliott <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-10-01 22:11:27 +00:00
Jamie Madill 0b4508e5d9 Add script to automatically download extension data.
The script uses the 'bb' and 'swarming' tool to download build info
and artifacts. See the script for more info.

Bug: angleproject:6379
Change-Id: I65444771a69dc2f6eee39f6ba8d471fdd8ca2cff
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3198737
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2021-10-01 19:20:16 +00:00
Jamie Madill 35708f98ac Merge extension support docs.
We previously had an existing document in doc/ExtensionSupport.md.
This merges the new SupportedExtensions.md into the old location
and includes a bit more info on EGL extension support.

Bug: angleproject:6379
Change-Id: Ibb60a9e9db9200abe609383531131903ca698e60
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3197770
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-09-30 18:23:25 +00:00
Jamie Madill 0004ecc2a4 Write GL info to test artifact in end2end_tests.
These will show up as glinfo.json in the "cas outputs" of the shard
that runs these tests.

We currently have information for Pixel 4, NVIDIA and Intel Win/Linux,
and SwiftShader Windows. GLES 1.x extensions are treated separately.
Some WebGL/Mac-only/D3D-only extensions show as unsupported anywhere.

In order to capture artifacts on Android, we use a render test output
parameter.

Bug: angleproject:6379
Change-Id: I560b219b5a586cdbb68d272090f38eedc76aba20
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3176780
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2021-09-30 15:31:09 +00:00
Joe Mason 455362d393 Update link to Chromium Modern C++ style guide
Bug: chromium:1243839
Change-Id: I6a6a25fdb86db1b2dfefbf156697bd0898cb948e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3167210
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Charlie Lao <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-09-17 13:59:31 +00:00
Jamie Madill b918b1c656 Auto-generate GLES extensions.
Uses the data from registry.xml combined with gl.xml to produce the
necessary header and source file with the strings map. Also updates
the list of supported extensions. Several extensions were missing
from the supported extensions map.

ARB_sync and NV_robustness_video_memory_purge require some specific
tweaks to get the generator to accept them as gles extensions.

Also includes a generate markdown file that lists supported exts.

Bug: angleproject:6379
Change-Id: I95bd589aa31a62b4a008de24408c7823a49023ed
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3157418
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2021-09-16 14:14:45 +00:00
Jamie Madill e1bc8de3e9 Change links from 'master' to 'main' branch.
Bug: chromium:1226949
Change-Id: Ie7b28b2fa094cf0c0a407968d681e580519cbb88
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3148210
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-09-08 18:03:39 +00:00
Kenneth Russell c90a6dcacc Deduplicate autoroller docs.
Leave them centralized in ANGLEWrangling.md, link to them from
BranchingAndRolling.md, and add the Chromium-into-ANGLE autoroller.

Bug: angleproject:6323
Change-Id: I913954b92dbe3545320e662de122daf26140d425
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3124341
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Commit-Queue: Kenneth Russell <[email protected]>
2021-08-27 20:34:29 +00:00
Kenneth Russell 936fd6cfb9 Add documentation for autorollers.
Document the location and purpose of the ANGLE-into-Chromium and
Chromium-into-ANGLE autorollers, to make them easier to find for
people who don't often use them.

Also fix several broken links due to misplaced newlines pointed out by
syoussefi@.

Bug: angleproject:6323
Change-Id: Id3d2f0e5627729acd2447b4954d2920375c37db2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3120408
Commit-Queue: Kenneth Russell <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-08-26 21:30:38 +00:00
Shahbaz Youssefi 7c6da49358 Translator: Make sure built-in variables are consistent
Some transformations left the tree in an inconsistent state, for example
if it used gl_SampleMask from ES3.1+OES_sample_variables and the
transformation added a usage of gl_SampleMask from ES3.2.  The offending
transformations are fixed and AST validation is improved to catch such
errors.

Bug: angleproject:4889
Change-Id: I9d9ea5bb43a9408dd4c6dc3e89ec20d60dfeff73
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3054613
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2021-07-28 06:19:04 +00:00
Nicolas Capens f8d277e452 Document the need for is_component_build = false
Setting `is_component_build = false` in the GN args is highly
recommended for standalone builds on Windows, to support the common
practice of moving libEGL.dll and libGLESv2.dll to an application's
directory. It makes them self-contained instead of depending on other
DLLs (like e.g. ext-ms-win-kernel32-sidebyside-l1-1-0.dll).

One notable exception is that the non-component build still depends on
d3dcompiler_47.dll, if the Direct3D backend is being used.

Bug: angleproject:6202
Change-Id: Id13e902d3169b37ec00a8065d9063ec7d683134b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3042543
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Nicolas Capens <[email protected]>
2021-07-21 22:33:54 +00:00
Jamie Madill 2b86e2d60f GN: Update dcheck/assert conditions.
In preparation for a Chromium change that makes dchecks enabled
by default in Release builds, we'll keep ASSERT disabled in
Release by default. We add a new flag 'angle_assert_always_on'
for controlling ANGLE ASSERT behaviour.

Also slightly refactors the direct SPIR-V generation GN.

Chromium CL: https://crrev.com/c/2893204

Bug: chromium:1225701
Change-Id: I01a6def28d7c21e771e9800889a6b9c274972de2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035447
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-07-19 19:05:44 +00:00
Ian Elliott 312e91c881 Two fixes to DevSetup.md
Change master->main and eliminate a redundant/premature Linux
instruction.

Bug: angleproject:0
Change-Id: Ic7171f860de8acc22050a4d4858cfd318f36b9e3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035863
Commit-Queue: Ian Elliott <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2021-07-16 23:12:33 +00:00
Matthias Lederhofer 824e56f268 Fix markdown link
Bug: None
Change-Id: Id6ebeb0c768d494f19d6619d68cdaf5ee18e981d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2997303
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2021-06-30 16:32:46 +00:00
Geoff Lang dc334829d8 Disable ANGLE's VK backend on official Chrome Android builds.
ANGLE's VK backend induces a memory and binary size regression due to
global initializers in glslang/spirvtools. Disable it on Android Chrome
official builds.

Bug: chromium:1172451
Change-Id: I08d77cf11e20b393c0faf7c85d08c92061e5a09b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2969385
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2021-06-17 16:51:07 +00:00
Cody Northrop 69d593b5d6 Docs: Update RenderDoc for Android launch command
Bug: angleproject:1944
Change-Id: I72535c45ea2a67f2fe6953d4b9fa5e60deaa050b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2875164
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2021-05-06 02:48:50 +00:00
Charlie Lao 257b29efa9 Add instruction on how to debug angle on android
This explains how I am using lldbclient.py to debug angle on android.

Bug: None
Change-Id: I9c0a55ab3e2272fbd74905a7ac390d987c78d550
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2860396
Reviewed-by: Ian Elliott <[email protected]>
Commit-Queue: Charlie Lao <[email protected]>
2021-04-30 01:39:03 +00:00
Stephen White d6a91dab36 D3D11: update docs (remove SSBO limitation).
Bug: angleproject:5734
Change-Id: Ia1af247b45ad51072296f8d197dd4b49526417ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2851177
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Stephen White <[email protected]>
2021-04-26 22:28:12 +00:00
Jamie Madill d630240851 Update standalone Android docs.
Bug: angleproject:2344
Change-Id: Idea2f65fc92f2c59c5d4cd6ae01cae0b4af41905
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2845049
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2021-04-22 14:50:56 +00:00
Peter Kotwicz bf0c6ae1ee Improve Angle Android gtest support
This CL makes angle_test() use an angle-specific gtest launcher -
AngleUnitTestActivity.java. This enables building standalone Android
angle without //base

Chromium-Bug: 1149922
Bug: None
Change-Id: Id84f3e2bd84c5017ed1988ca07534f424ebfa596
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2745535
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-04-07 16:50:52 +00:00
Tim Van Patten bbed881323 Create GN arg to enable non-conformant features
The GN arg angle_expose_non_conformant_extensions_and_versions is being
added to control exposeNonConformantExtensionsAndVersions, which enables
non-conformant features and extensions. In particular, this is being
done to enable EXT_texture_buffer on devices that don't support all of
the necessary formats since many Android games rely on this extension,
such as "Special Forces Group 2", "Fortnite", and "PUBG".

  # Enables non-conformant extensions and features
  angle_expose_non_conformant_extensions_and_versions = false

Users/vendors can now toggle the value with a GN arg, rather than a code
change, to make it easier to test the conformant version of ANGLE with
CTS, dEQP, etc. and/or app-compatibility.

Bug: angleproject:5592
Change-Id: Icbf18b48a2751c03e277ae964e1ec278a43324cf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2740643
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
2021-03-12 21:52:02 +00:00
John Plate 8650381e7e Avoid implication that adding the issue number is optional
Bug: angleproject:1944
Change-Id: I89867c20c724c8db4d8edeb15fa4e32769f2a578
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2749596
Commit-Queue: John Plate <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-03-11 18:14:07 +00:00
Alexey Knyazev 9d091b6697 Add Chrome Canary ANGLE injection steps
Bug: angleproject:1944
Change-Id: I89ade8230271378cd8b2a5a7cb58ad6c0e4f1fde
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2724271
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-03-02 19:46:43 +00:00
Peng Huang 6b6da203cc Include a Makefile which contains some useful command lines
Bug: angleproject:5697
Change-Id: I48c487d218183aa10823127beb40384f4debd6db
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2727921
Commit-Queue: Peng Huang <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2021-03-02 01:41:22 +00:00
Ian Elliott b3fb450c72 Vulkan: Add GPU memory report and analysis documentation
This information should be generally searchable and available.

Bug: b/173636655
Change-Id: I5f8cad0f34f96c085ceea369d320863f20373c99
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2714232
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-02-25 21:43:59 +00:00
Ian Elliott cffe90b44a Vulkan: Update documentation for enabling debug markers
After changes to the GN arg "angle_enable_trace" were done, other GN
args are now needed.

Bug: b/170249632
Change-Id: Ib5e703434cb580aa838ef8632b271f5f20554f42
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2684933
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Ian Elliott <[email protected]>
2021-02-11 03:33:54 +00:00
Shahbaz Youssefi a685db2e97 Update README.md for Fuchsia
Bug: angleproject:1944
Change-Id: I823ffba6b67e65dbf4b24e8863a117fcdff76657
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2648638
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Michael Spang <[email protected]>
2021-01-28 20:21:38 +00:00