In preparation of patches that will allow V4L2 decoding to work by
default on Linux.
The VA-API and V4L2 backends provide essenitaly the same output -
DMABufs in formats like NV12/P010 etc. - and face similar restrictions
e.g. GL driver features. It therefore makes sense to have the same media
switches and in fact some of them - most importantly
`VaapiVideoDecodeLinux` - already apply to V4L2.
Thus in order to reduce confusion and avoid code duplication, rename
some of the `Vaapi` swiches used in common code to `Accelerated` but
keep the `Linux` suffix, making it clearer to what they apply. Also
ensure they are used for both APIs the same way and update the
`vaapi.md`.
Finally, add `AcceleratedVideoDecodeLinuxZeroCopyGL` to the VA-API
documentation.
Bug: b:334110478
Change-Id: Iea58966d6ab94ce995defb1cf1099dd9ba9fae26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5893615
Reviewed-by: Sean Topping <seantopping@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Fritz Koenig <frkoenig@chromium.org>
Commit-Queue: Fritz Koenig <frkoenig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1363231}
Add a AllowSwiftShaderFallback finch feature as a killswitch. This
is currently *enabled by default* with a deprecation message.
Once AllowSwiftShaderFallback is disabled:
Disable falling back to SwiftShader as a result of multiple GPU crashes.
Instead, fall back to the display compositor.
Disable falling back to SwiftShader as a GL implementation unless it's
the only available implementation (current behaviour) AND
--allow-unsafe-swiftshader is passed to Chrome. This allows testing of
Chrome on systems without GPUs without exposing end users to
security issues in the SwANGLE stack.
Continue to allow SwiftShader to be used if it's explicitly requested
by command line with the --use-angle=swiftshader flag. This allows testing of Chrome's rasterization and WebGL using SwiftShader.
Bug: 40277080
Change-Id: I8b6f56acba1acb7a988232fb2f205a6be0da670f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5675974
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1350236}
VA-API on Linux has supported Vulkan for some time (see
crbug.com/40192819). This CL introduces feature flags for Vulkan, in
addition to the existing OpenGL feature flags.
Bug: 40192819, 349428388
Change-Id: I249172d14acac534ad45868613adedf21ab1ad99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5670086
Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org>
Reviewed-by: Andres Calderon Jaramillo <andrescj@chromium.org>
Commit-Queue: Jianhui J Dai <jianhui.j.dai@intel.com>
Cr-Commit-Position: refs/heads/main@{#1323497}
This patch updates the document about how to profile Chromium with the
latest version of Intel GPA on the latest Intel Windows driver.
Bug: chromium:1382963
Change-Id: Ie4be30b6a2455cffd00aec592607aa1b8b60491f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5316989
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Cr-Commit-Position: refs/heads/main@{#1264401}
Updates the GPU documentation about running local binaries on swarming
to reference tools/mb/mb.py instead of the underlying swarming tools and
to include more detailed information about its usage.
Bug: 1491500
Change-Id: Ice3414779eaf1fbe1c621343354cc789ed1f925d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4923119
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1207813}
Makes some minor updates to the GPU testing documentation to clarify
some confusion that a first-time user recently encountered:
* Updates the webgl_conformance suite to correctly reflect that there is
now a webgl1_conformance and webgl2_conformance suite.
* Makes it clearer that `vpython3` needs to be manually included when
running the script on Windows.
Change-Id: Iefbef22db9234f0d7d3413433366a9e186fc7eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4443043
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1132443}
Refactors the unexpected pass finder disable annotation code so it is
no longer tied to expectation removal and uses the refactored code to
add a disable-narrowing annotation. This is similar to the existing
disable annotations, but prevents expectations from having their scope
automatically narrowed.
Also un-narrows several expectations that are intentionally broad and
prompted the addition of this functionality.
Bug: angleproject:6245, 1392545
Change-Id: Ia8727dc594ca67af19f5fe9c1bdb3d6dbd47ea24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4148220
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1090816}
Adds documentation for the GPU expectation files since the expectation
file format isn't particularly well documented and there are a number of
extensions due to the unexpected pass finders that weren't documented
anywhere other than the source code.
Bug: 1386094
Change-Id: Id57d4f348fcd31f552441106e4a5456d15a8f494
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4085319
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1081754}
The builder was renamed to "win-rel" as part of crbug.com/1381274. It
should have the exact same behavior. So any doc or comment that
mentions it has been updated to the new name here.
Although web_tests' references were unchanged. Filed crbug.com/1383534
to cover those since they seem to have some effect on behavior.
Bug: 1381274
Change-Id: I9204dee6f58dd34826de3a0b3a8372ec5f7e5e43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4022168
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Kevin McNee <mcnee@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1071119}
This patch adds the document to profile Chromium with Intel GPA.
Currently Intel GPA supports profiling graphics-intensive Web workloads
on Windows Intel D3D drivers.
Bug: chromium:1382963
Change-Id: I201fb57690331de9981d2fa14c6cae42b451eb45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4017718
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1070699}
Updates the GPU testing bot details documentation. This is largely to
remove references to the tools/build repo now that all GPU-related
configs have been moved fully src-side, but there are a few additional
fixes for errors that were found while rewriting those parts.
Change-Id: I3e58e854525e5b65691ff38fe78a01afb22858df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021334
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1070378}
Adds support for handling multiple WebGPU protocol messages. The old
behavior is still kept around until the Dawn code is updated to send
multiple messages.
Also adds documentation describing the message protocol.
Bug: 1340602
Change-Id: I717665b8d4a7a92caba72e9fe5c0ad6be53c07a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3816869
Reviewed-by: Austin Eng <enga@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1033258}
Remove some test suite exceptions that were missed when deleting the
gl_renderer_* test suites. Also remove some filters for deleted
viz_unittests.
Bug: 1247756
Change-Id: I03f562b728fecb6437b78e14deddf5a30fe17289
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3696523
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Kyle Charbonneau <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1012540}
Legacy SwiftShader GL is deprecated, so remove it from existing
documentation, so that only SwANGLE related documentation remains.
Bug: chromium:1060139
Change-Id: I1a59d7b4a57f80cbe627df0a77430450296df607
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3452836
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Alexis Hétu <sugoi@google.com>
Cr-Commit-Position: refs/heads/main@{#969936}
Moves inactive GPU experimental testers to the new
chromium.gpu.experimental console. This console is intended to be used
for parking inactive GPU experimental testers until they are needed
again in order to declutter the chromium.gpu.fyi console.
These testers have already been paused.
Bug: 1280441
Change-Id: If035c502b40a88c3dd54da5dd6236c6e88dcfb57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3345549
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#955514}
Updates the Markdown documentation about building/running GPU
integration tests to refer to the correct targets and include some
additional details that may be helpful to people that are unfamiliar
with the tests.
Bug: 1270361
Change-Id: I6eb787b7abbc9e9d24672b626c93dacd7ac42bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3283629
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#941916}
Updates the following in the GPU documentation:
1. Links to the Skia Gold instance. There were still references to the
old chrome-gpu-gold.skia.org instance that has been gone for a long
time.
2. Links to the pixel_wrangling.md documentation, which has been moved
to various internal documentation pages.
Bug: 1250846
Change-Id: Ib72b870c91a8048bbe4568256ff1845c2d72d7a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3173927
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#924044}
Currently, Chrome uses legacy SwiftShader GL as the WebGL fallback when
a hardware GPU isn't usable for the purpuse of rendering WebGL content.
As we're in the process of changing legacy SwiftShader GL to SwANGLE,
this CL adds a new flag which allows using SwANGLE for WebGL only.
To clarify, current switches with legacy SwiftShader GL:
Software GL: --use-gl=swiftshader
Software WebGL only: --use-gl=swiftshader-webgl
With SwANGLE, the new switches will be:
Software GL: --use-gl=angle --use-angle=swiftshader
Software WebGL only: --use-gl=angle --use-angle=swiftshader-webgl
Bug: chromium:1060139
Change-Id: I8d0382ac3a12c1578dfc0e62fc1949a0a9c66bd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2845229
Commit-Queue: Alexis Hétu <sugoi@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Cr-Commit-Position: refs/heads/master@{#876794}
Updates //docs/gpu/gpu_testing.md in a few ways:
1. Clarifies that vpython should be used instead of python
2. Explicitly lists all Telemetry-based test suites and the names they
can show up as on the bots. This list was generated by parsing the
//testing/buildbot JSON files.
3. Updates the instructions on how to obtain the command used to run
a test on swarming and how to download an isolate.
Bug: 1199154
Change-Id: I21bbbe7341d8788ef9e0715e5c090b8cc37469ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2828908
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#873436}