[Wayland] Consider removing idle vsync timer
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
Bug 1786247 introduced an idle vsync timer to not hold on to resources indefinitely on throttled windows. We should've fixed the root cause of it in bug 1828587, so maybe we can remove it now.
Martin, Robert, wdyt? Is there any other reason we'd need the idle timer?
Comment 1•2 years ago
|
||
IIUC you are talking about us currently sticking to 1Hz minimum, right? I'd be totally in favor for getting rid of it if possible.
Comment 2•2 years ago
|
||
Emilio I don't have strong opinion here and I'm ok with that as far as it doesn't break anything. Also that's Wayland only stuff right? As we don't have a idle state detection on X11.
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
(In reply to Robert Mader [:rmader] from comment #1)
IIUC you are talking about us currently sticking to 1Hz minimum, right? I'd be totally in favor for getting rid of it if possible.
Correct.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)
Emilio I don't have strong opinion here and I'm ok with that as far as it doesn't break anything. Also that's Wayland only stuff right? As we don't have a idle state detection on X11.
Correct as well.
Ok can try to send a patch and see how it goes.
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Improve naming of some of the variables, remove some redundant type
params, and avoid calling TimeStamp::Now() unnecessarily, which is not
free.
Depends on D176282
Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d43bc8b81921
https://hg.mozilla.org/mozilla-central/rev/8da3f82245ac
Description
•