Unnecessary GPU usage during compositing from profiler screenshots code even if the profiler is off
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | --- | unaffected |
firefox82 | + | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
This is a regression from bug 1592031: We call UpdateSnapshot
even when the profiler is off, which causes unnecessary extra CPU and GPU work on each composite on macOS+WR. We only need to call UpdateSnapshot if the profiler is running and the Screenshots profiler setting is enabled.
Comment 1•4 years ago
|
||
Set release status flags based on info from the regressing bug 1592031
Assignee | ||
Comment 2•4 years ago
|
||
This requires passing down the window size down in a different way, because the
NativeLayerRootSnapshotter does not know the window size otherwise.
At the same time, this patch also removes WindowNLRS and makes the NativeLayerRoot
implement the profiler_screenshots::Window interface directly.
Depends on D89863
Assignee | ||
Comment 3•4 years ago
|
||
[Tracking Requested - why for this release]: Regression that affects WR perf. WR will ride the train to most Mac users in 82 on release (bug 1654271).
Comment 6•4 years ago
|
||
Backed out 2 changesets (Bug 1664047, Bug 1664135) for causing dt failures in ScreenshotGrabber.cpp
Backout link: https://hg.mozilla.org/integration/autoland/rev/b91bf98042fa3896bc60ace988b2c3ce1fbd29c7
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=315689337&repo=autoland&lineNumber=7490
Comment 8•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•