Yuxin Hu
18af371b60
Add instructions to configure RenderDoc ShaderView
...
Add a section with instructions on adding
SPIRV-Cross in RenderDoc shader viewer tools.
This allows us to view GLSL shader source code
in renderdoc captures.
Add a link on how to download RenderDoc
Android Dependency on Linux.
Bug: angleproject:6509
Change-Id: I5f1cbff55a8b43983dbc1c965314e1ad2213a399
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3888579
Reviewed-by: Solti Ho <solti@google.com >
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org >
Commit-Queue: Yuxin Hu <yuxinhu@google.com >
2022-09-12 22:13:19 +00:00
Cody Northrop
e3c4491963
Debug: Add angle_enable_trace_events
...
Include the following GN arg to print all GLES and EGL commands:
angle_enable_trace_events = true
Bug: angleproject:7126
Change-Id: I78eb061c10ed519d6a0b0357eea11567d1cfb518
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3551656
Reviewed-by: Ian Elliott <ianelliott@google.com >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Commit-Queue: Cody Northrop <cnorthrop@google.com >
2022-03-26 23:28:50 +00:00
Yuxin Hu
ae9c94f1bd
Add instructions to build RenderDoc for Android on Windows
...
Add instructions on how to
1. Install Android dependencies on Windows
2. Install build tools on Windows
3. Build errors and resolutions
4. Steps to build and use RenderDoc for Android on Windows
Bug: b/210134963
Change-Id: I707ddf68f5f834fcacd106fd0e3041b8757ae05c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3441634
Reviewed-by: Cody Northrop <cnorthrop@google.com >
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org >
Commit-Queue: Yuxin Hu <yuxinhu@google.com >
2022-02-17 03:22:32 +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 <jmadill@chromium.org >
Reviewed-by: Yuly Novikov <ynovikov@chromium.org >
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com >
2022-01-02 12:43:08 +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 <syoussefi@chromium.org >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
2021-10-05 20:32:28 +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 <ianelliott@google.com >
Reviewed-by: Cody Northrop <cnorthrop@google.com >
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org >
2021-07-16 23:12:33 +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 <syoussefi@chromium.org >
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org >
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 <ianelliott@google.com >
Commit-Queue: Charlie Lao <cclao@google.com >
2021-04-30 01:39:03 +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 <jmadill@chromium.org >
Reviewed-by: Geoff Lang <geofflang@chromium.org >
Commit-Queue: Jamie Madill <jmadill@chromium.org >
2021-04-07 16:50:52 +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 <jmadill@chromium.org >
Reviewed-by: Kenneth Russell <kbr@chromium.org >
Commit-Queue: Jamie Madill <jmadill@chromium.org >
2021-03-02 19:46:43 +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 <timvp@google.com >
Reviewed-by: Cody Northrop <cnorthrop@google.com >
Commit-Queue: Ian Elliott <ianelliott@google.com >
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 <cnorthrop@google.com >
Reviewed-by: Tim Van Patten <timvp@google.com >
Commit-Queue: Ian Elliott <ianelliott@google.com >
2021-02-11 03:33:54 +00:00
Ian Elliott
f418c10909
Vulkan: Document how to turn on debug markers
...
Bug: b/170249632
Change-Id: Ie71a2e9699c3da88dd7e285177bb0ce1520f5bbc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2506420
Commit-Queue: Ian Elliott <ianelliott@google.com >
Reviewed-by: Tim Van Patten <timvp@google.com >
Reviewed-by: Cody Northrop <cnorthrop@google.com >
2020-10-29 00:31:05 +00:00
Tobin Ehlis
5fd73782c5
Vulkan: Use volk to load vk* func ptrs
...
Thanks to Jamie Madill for some fixes to get all CI test passing w/ volk.
This change updates all ANGLE targets that use Vulkan to dyanmically
link all of the VK entrypoints using the volk OSS library from
https://github.com/zeux/volk .
It's only two source files so baking them directly into ANGLE repo.
Also it's used in both the tests and libANGLE trees so added to
src/common/third_party/volk dir.
Updated volk and the renderer to track latest instance and device
that were loaded and renderer will refresh vk* function pointers if
the current and previous device and/or instance don't match. This
prevents errors in the test framework as we transition between
backends, especially between VK HW & SwiftShader ICDs.
This change rolls the Vulkan Loader forward to use the latest loader
version which no longer allows static linking but requires dynamic
linking.
Bug: angleproject:3740
Bug: angleproject:4092
Bug: angleproject:4162
Bug: angleproject:4210
Bug: angleproject:4225
Change-Id: I8a0b7d24c9545bbfdfaa4b9357a9bfe6793e0140
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1965640
Commit-Queue: Tobin Ehlis <tobine@google.com >
Reviewed-by: Tobin Ehlis <tobine@google.com >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
2019-12-16 20:08:39 +00:00
Shahbaz Youssefi
66c11662b1
Add a note regarding RenderDoc+Android+Vulkan+dEQP
...
Bug: angleproject:1944
Change-Id: Ib0a9195ddaf5afc6f909631c859c7e0bd33d7a1a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1600050
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Reviewed-by: Yuly Novikov <ynovikov@chromium.org >
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org >
2019-05-16 17:24:51 +00:00
Shahbaz Youssefi
a47e2a23ab
Add instructions for use with RenderDoc + Android
...
Bug: angleproject:1944
Change-Id: Ie10bd447b08fd881961e7fa0849113f40f98ba1b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1538679
Reviewed-by: Cody Northrop <cnorthrop@google.com >
Reviewed-by: Yuly Novikov <ynovikov@chromium.org >
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org >
2019-03-26 17:55:26 +00:00
Shahbaz Youssefi
cda4383919
Add instructions on how to run ANGLE under RenderDoc
...
Bug: angleproject:1944
Change-Id: I6c47487f4dd43b3d3caecbc9256654865518d775
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1524467
Reviewed-by: Yuly Novikov <ynovikov@chromium.org >
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org >
2019-03-18 17:58:37 +00:00
Frank Henigman
a7f97a27eb
Gyp is dead. Long live gn.
...
Remove the gyp build. The .gypi files were not renamed so that diff and
rebase would work on this change. They will be renamed in a separate
change.
BUG=angleproject:1569
Change-Id: If8a217027633293664b820104f91a4ca5889b24e
Reviewed-on: https://chromium-review.googlesource.com/1187380
Commit-Queue: Frank Henigman <fjhenigman@chromium.org >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Reviewed-by: Yuly Novikov <ynovikov@chromium.org >
2018-08-29 19:26:38 +00:00
Yuly Novikov
ad4f9642a6
Allow ANGLE libs to have arbitrary suffix.
...
In order to work with tools which intercept EGL and GLES calls.
BUG=angleproject:2343
Change-Id: I63aec7a56648dc4b3e7f4aff7f7d1608709ba118
Reviewed-on: https://chromium-review.googlesource.com/920652
Commit-Queue: Yuly Novikov <ynovikov@chromium.org >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Reviewed-by: Corentin Wallez <cwallez@chromium.org >
2018-03-23 22:09:24 +00:00
Yuly Novikov
40a945f293
Rename vulkan_loader to libvulkan
...
Also add a build argument to build it as a shared library.
BUG=angleproject:2343
Change-Id: Ia590632b94d71b10d3ee64974fa4f5b4f00c3a70
Reviewed-on: https://chromium-review.googlesource.com/954403
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Commit-Queue: Yuly Novikov <ynovikov@chromium.org >
2018-03-20 23:18:43 +00:00
Frank Henigman
3c613c0d79
Update docs for GN standalone and GYP deprecation.
...
Explain how to use GN and say not to use GYP.
BUG=angleproject:1569
Change-Id: I972126dced28fa7a70eb301b500f172376a569c1
Reviewed-on: https://chromium-review.googlesource.com/775858
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Reviewed-by: Geoff Lang <geofflang@chromium.org >
2017-12-12 17:49:39 +00:00
Corentin Wallez
7f07caa961
Rename the build/ directory.
...
GYP related files went in gypfiles/, and the gni went in gni/ this
changes frees up the build/ directory name for Chromium's build/
directory.
BUG=angleproject:1569
Change-Id: I76fe343d569239c2732ba87986fcf7debc21d417
Reviewed-on: https://chromium-review.googlesource.com/403029
Commit-Queue: Corentin Wallez <cwallez@chromium.org >
Reviewed-by: Jamie Madill <jmadill@chromium.org >
2016-11-08 14:48:42 +00:00
Jamie Madill
e865bb1299
Update Debugging Tips document.
...
BUG=None
Change-Id: I9e417b37b072ea3874cd8b111d6b751295b9b0c2
Reviewed-on: https://chromium-review.googlesource.com/321760
Reviewed-by: Jamie Madill <jmadill@chromium.org >
Tested-by: Jamie Madill <jmadill@chromium.org >
2016-01-12 21:25:44 +00:00
Corentin Wallez
cbdf73666e
Add DebuggingTips.md with a tip about using apitrace
...
BUG=angleproject:892
Change-Id: I0999b0d3b043d412c092350f7d20560cb8b87ff7
Reviewed-on: https://chromium-review.googlesource.com/287450
Reviewed-by: Shannon Woods <shannonwoods@chromium.org >
Tested-by: Corentin Wallez <cwallez@chromium.org >
2015-07-27 20:21:05 +00:00