Recycled DataSourceSurface is not uploaded by using DrawTargetWebgl::DrawSurface() in RecordedDrawSurfaceDescriptor::PlayEvent()
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 external file)
When DataSourceSurface is recycled in CanvasTranslator::LookupSourceSurfaceFromSurfaceDescriptor(), recycled DataSourceSurface is not uploaded by using DrawTargetWebgl::DrawSurface(). See Bug 1900677 comment 11.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
•
|
||
With default gecko, Firefox profiler with canvas2dvideo.
- canvas2dvideo profile on Linux
- canvas2dvideo profile on MacOS
On Linux in CanvasRenderer thread, 70% CPU was used for allocating and destroying DataSourceSurface. on MacOS in CanvasRenderer thread, 50% CPU was used for allocating and destroying DataSourceSurface. It is not good.
| Assignee | ||
Comment 3•2 years ago
•
|
||
With D212903 , the cpu task for allocating and destroying DataSourceSurface was removed. The significant amount of CPU tasks were removed.
- canvas2dvideo profile on Linux
- canvas2dvideo profile on MacOS
https://treeherder.mozilla.org/jobs?repo=try&revision=e045b71f75a9701bec7a03af9e3b9a9be1f66ca3
| Assignee | ||
Comment 4•2 years ago
•
|
||
However, talos' canvas2dvideo score regressed significantly: with default gecko, the CanvasRenderer thread was too slow, slowing down the tick() and WebRender transactions. With default gecko, the current canvas2dvideo score is not valid.
| Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Description
•