Avoid copies for software GPUVideoImage with WebGL
Categories
(Core :: Graphics: CanvasWebGL, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
Using the infrastructure we will add in bug 1868396, we can avoid copying GPUVideoImage produced by software codecs from the RDD process into the content process and back to the compositor process, since the GPUVideoImage data already exists in compositor process.
| Assignee | ||
Comment 1•2 years ago
|
||
This patch makes it so that WebGL that runs in the compositor process
can take advantage of the fact that GPUVideoImage should have an already
created TextureHost between the compositor process and the producing
utility process. For software decoders, this will allow us to avoid a
copy into a shmem from the utility process, and another copy into a
shmem to the compositor process.
Depends on D195558
| Assignee | ||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Comment 4•2 years ago
|
||
== Change summary for alert #40595 (as of Fri, 08 Dec 2023 06:11:13 GMT) ==
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 75% | glvideo Mean tick time across 100 ticks: | linux1804-64-shippable-qr | e10s fission stylo webrender | 16.06 -> 4.04 |
| 75% | glvideo Mean tick time across 100 ticks: | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 16.03 -> 4.04 |
| 75% | glvideo Mean tick time across 100 ticks: | linux1804-64-shippable-qr | e10s fission stylo webgl-ipc webrender | 15.92 -> 4.04 |
| 74% | glvideo Mean tick time across 100 ticks: | linux1804-64-qr | e10s fission stylo webgl-ipc webrender | 15.73 -> 4.06 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40595
Description
•