Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
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