Merge lp:~vanvugt/mir/no-savings into lp:mir
Status: | Rejected |
---|---|
Rejected by: | Alexandros Frantzis |
Proposed branch: | lp:~vanvugt/mir/no-savings |
Merge into: | lp:mir |
Diff against target: |
19 lines (+1/-3) 1 file modified
src/server/compositor/multi_threaded_compositor.cpp (+1/-3) |
To merge this branch: | bzr merge lp:~vanvugt/mir/no-savings |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Robert Carr (community) | Needs Information | ||
Alexandros Frantzis (community) | Disapprove | ||
Mir development team | Pending | ||
Review via email: mp+216084@code.launchpad.net |
Commit message
Remove spurious saved_resources vector. The duration of the buffer
acquisition in this case is unimportant, only the frequency of
acquisitions matters.
Description of the change
For a detailed discussion on the topic see also:
https:/
https:/
Unmerged revisions
- 1566. By Daniel van Vugt
-
Merge latest development-branch
- 1565. By Daniel van Vugt
-
Fix FTBFS from previous commit
- 1564. By Daniel van Vugt
-
Merge latest development-branch and fix conflicts
- 1563. By Daniel van Vugt
-
Merge latest development-branch
- 1562. By Daniel van Vugt
-
Merge latest development-branch and fix conflicts
- 1561. By Daniel van Vugt
-
Merge latest development-branch
- 1560. By Daniel van Vugt
-
Merge latest development-branch
- 1559. By Daniel van Vugt
-
Merge latest development-branch
- 1558. By Daniel van Vugt
-
Remove spurious saved_resources vector. The duration of the buffer
acquisition in this case is unimportant, only the frequency of
acquisitions matters.For a detailed discussion on the topic see also:
https://code.launchpad .net/~vanvugt/ mir/save- resources- in-the- renderer/ +merge/ 215197
https://bugs.launchpad .net/mir/ +bug/1264934
Not holding the buffer for a reasonable amount of time, is like stealing the buffer from the real compositor. When the timings are right (or wrong rather) this results in speed-ups surges (= essentially dropping buffers). This is what I get on my laptop with mir_demo_ server_ shell and mir_demo_ client_ egltriangle:
1 FPS
17 FPS
95 FPS
82 FPS
60 FPS
60 FPS
60 FPS
61 FPS
60 FPS
97 FPS
80 FPS
60 FPS
60 FPS
61 FPS
60 FPS
60 FPS
98 FPS
77 FPS
60 FPS
60 FPS
60 FPS
61 FPS
60 FPS
102 FPS
75 FPS
60 FPS