Reduce CanvasTranslator data shmem copies
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•9 months ago
|
||
CanvasChild often creates data shmem transfers for snapshots, which CanvasTranslator
immediately copies into a separate memory buffer as soon as it receives the shmem.
Like CanvasChild, we can keep alive these shmems on the CanvasTranslator side for
a reasonable lifetime to directly use the shmem's memory rather than copy from it,
avoiding the sometimes large costs of the copy.
Unlike CanvasChild, this limits the amount of shmems on the CanvasTranslator side
by a pref beyond which the shmems are still copied to a memory buffer as usual.
Updated•9 months ago
|
Comment 4•9 months ago
•
|
||
Backed out for causing failures at test_animSVGImage.html.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/3d350fd70c367962cc6977f1dbd0da392db2a546
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=537444468&repo=autoland&task=Ds_boxVRQneLpwYbAvR6Vw.0&lineNumber=9882
https://treeherder.mozilla.org/logviewer?job_id=537447547&repo=autoland&task=IFAbzeQSQ_iWdd7i0ceKAQ.1&lineNumber=4965
https://treeherder.mozilla.org/logviewer?job_id=537448661&repo=autoland&task=Si1Vk9GOT-2-PVPEuhiXfw.0&lineNumber=10145
| Assignee | ||
Updated•9 months ago
|
Comment 6•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
| Assignee | ||
Updated•6 months ago
|
Description
•