Merge lp:~kdub/mir/fix-1626503 into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Daniel van Vugt on 2016-09-27 |
| Approved revision: | 3720 |
| Merged at revision: | 3719 |
| Proposed branch: | lp:~kdub/mir/fix-1626503 |
| Merge into: | lp:mir |
| Diff against target: |
383 lines (+111/-9) 12 files modified
src/client/buffer_vault.cpp (+9/-0) src/client/mir_connection.cpp (+1/-1) src/client/surface_map.cpp (+7/-7) src/server/compositor/multi_monitor_arbiter.cpp (+11/-0) src/server/compositor/multi_monitor_arbiter.h (+1/-0) src/server/compositor/stream.cpp (+6/-0) src/server/compositor/stream.h (+1/-0) tests/acceptance-tests/throwback/test_presentation_chain.cpp (+51/-0) tests/integration-tests/test_buffer_scheduling.cpp (+4/-0) tests/unit-tests/client/test_mir_connection.cpp (+1/-1) tests/unit-tests/compositor/test_multi_monitor_arbiter.cpp (+13/-0) tests/unit-tests/compositor/test_stream.cpp (+6/-0) |
| To merge this branch: | bzr merge lp:~kdub/mir/fix-1626503 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alexandros Frantzis (community) | Approve on 2016-09-27 | ||
| Brandon Schaefer (community) | 2016-09-22 | Approve on 2016-09-23 | |
| Mir CI Bot | continuous-integration | Approve on 2016-09-22 | |
|
Review via email:
|
|||
Commit Message
mir_presentatio
fix situation where where the server would not notify a client of a buffers return, following the destruction of the MirPresentation
fixes: LP: #1626503
Description of the Change
mir_presentatio
fix situation where where the server would not notify a client of a buffers return, following the destruction of the MirPresentation
fixes: LP: #1626503
- 3719. By Kevin DuBois on 2016-09-22
-
fix double paren complaint in clang
- 3720. By Kevin DuBois on 2016-09-22
-
fix issue with presentationchain suite
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3720
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel van Vugt (vanvugt) wrote : | # |
It's worth noting MultiMonitorArbiter will get deprecated and possibly removed soon enough (hopefully). As swap interval 1 throttling moves out of libmirserver and into libmirclient (using high-precision frame sync timing), it won't be needed any more.
| Brandon Schaefer (brandontschaefer) wrote : | # |
Im not super familiar with the context but the code looks good to me.
| Kevin DuBois (kdub) wrote : | # |
> It's worth noting MultiMonitorArbiter will get deprecated and possibly removed
> soon enough (hopefully). As swap interval 1 throttling moves out of
> libmirserver and into libmirclient (using high-precision frame sync timing),
> it won't be needed any more.
Hmm, news to me. I suppose some logic in there won't be needed, but some system of handing the buffers out will still be present, we might to need to sync on the plans.
| Alexandros Frantzis (afrantzis) wrote : | # |
Looks good.
Nit:
+ for(auto it = onscreen_
+ {
+ if (it->use_count == 0)
+ map->send_
+ }
Why not use a range-based for loop?

FAILED: Continuous integration, rev:3718 /mir-jenkins. ubuntu. com/job/ mir-ci/ 1784/ /mir-jenkins. ubuntu. com/job/ build-mir/ 2234/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/2297 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 2288 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 2288 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 2288 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= yakkety/ 2262/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2262 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2262/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= yakkety/ 2262 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= yakkety/ 2262/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 2262 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 2262/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2262/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 1784/rebuild
https:/