Merge lp:~kdub/mir/fix-1578159 into lp:mir
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Daniel van Vugt | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3497 | ||||
Proposed branch: | lp:~kdub/mir/fix-1578159 | ||||
Merge into: | lp:mir | ||||
Diff against target: |
149 lines (+68/-6) 4 files modified
src/client/buffer_vault.cpp (+8/-3) src/client/buffer_vault.h (+1/-0) tests/integration-tests/test_buffer_scheduling.cpp (+38/-3) tests/unit-tests/client/test_buffer_vault.cpp (+21/-0) |
||||
To merge this branch: | bzr merge lp:~kdub/mir/fix-1578159 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Abstain | ||
Cemil Azizoglu (community) | Approve | ||
Alan Griffiths | Approve | ||
Mir CI Bot | continuous-integration | Approve | |
Review via email: mp+293790@code.launchpad.net |
Commit message
client: fix lp: #1578159 by preferring buffers that returned to the client earlier, as opposed to preferring the last-returned buffer.
fixes: LP: #1578159
Note on test change to "queue_
The nbs code, although now cycling through the 3 buffers, still will perform as double buffered, as it always has a spare buffer to work with.
Description of the change
client: fix lp: #1578159 by preferring buffers that returned to the client earlier, as opposed to preferring the last-returned buffer.
fixes: LP: #1578159
Note on test change to "queue_
The nbs code, although now cycling through the 3 buffers, still will perform as double buffered, as it always has a spare buffer to work with.
PASSED: Continuous integration, rev:3497 /mir-jenkins. ubuntu. com/job/ mir-ci/ 942/ /mir-jenkins. ubuntu. com/job/ build-mir/ 1004 /mir-jenkins. ubuntu. com/job/ build-0- fetch/1050 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1041 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1041 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1014 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1014/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1014 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1014/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1014 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1014/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1014 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1014/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial/ 1014 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial/ 1014/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
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: /mir-jenkins. ubuntu. com/job/ mir-ci/ 942/rebuild
https:/