xmir_screen_for_each_damaged_window iterates through all outputs on every frame (including unused ones)
Bug #1220629 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
xmir_screen_
I thought it was a bit odd when debugging xmir_screen_
I think we should avoid iterating (or even creating) unused xmir_windows. In the very least it's inefficient to process all the damage reports more times than necessary.
Furthermore, I suspect the unused xmir_windows are accumulating damage that never gets emptied, which is probably bad.
tags: | added: performance |
tags: | added: multimonitor |
Changed in xmir: | |
importance: | Undecided → Medium |
no longer affects: | xmir |
tags: | added: xmir |
To post a comment you must log in.
Dropping to Low importance. I haven't seen this cause any issues or have any noticeable performance impact.