Merge lp:~kdub/mir/current-buffer-id-fix into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Kevin DuBois on 2015-11-25 |
| Approved revision: | 3062 |
| Merged at revision: | 3127 |
| Proposed branch: | lp:~kdub/mir/current-buffer-id-fix |
| Merge into: | lp:mir |
| Diff against target: |
531 lines (+97/-65) 10 files modified
src/client/buffer_stream.cpp (+11/-13) src/client/buffer_vault.cpp (+4/-4) src/client/buffer_vault.h (+9/-2) src/platforms/android/server/android_buffer_allocator.cpp (+15/-10) src/platforms/android/server/device_quirks.cpp (+9/-9) src/platforms/android/server/device_quirks.h (+2/-2) tests/integration-tests/test_buffer_scheduling.cpp (+1/-1) tests/unit-tests/client/test_buffer_vault.cpp (+15/-15) tests/unit-tests/client/test_client_buffer_stream.cpp (+22/-0) tests/unit-tests/graphics/android/test_device_detection.cpp (+9/-9) |
| To merge this branch: | bzr merge lp:~kdub/mir/current-buffer-id-fix |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-11-25 | |
| Alexandros Frantzis (community) | Approve on 2015-11-06 | ||
| Alan Griffiths | Approve on 2015-11-06 | ||
| Chris Halse Rogers | 2015-10-28 | Approve on 2015-11-02 | |
|
Review via email:
|
|||
Commit Message
nbs: fix reporting of the current buffer id. We were previously reporting the last-client-bound id, not the last id the driver is using.
Description of the Change
nbs: fix reporting of the current buffer id. We were previously reporting the last-client-bound id, not the last id the driver is using.
| Chris Halse Rogers (raof) wrote : | # |
Yeah, sure.
The test at the end actually made it clear to me what you were trying to do here :)
| Alexandros Frantzis (afrantzis) wrote : | # |
Wouldn't it be more natural for the ClientBuffer to store and report its id (e.g., ClientBuffer:
| Kevin DuBois (kdub) wrote : | # |
I'm sure I replied on tuesday, LP must have lost my response!
| Kevin DuBois (kdub) wrote : | # |
This was the first route I tried, but it required more plumbing and some platform abi breakage to plumb the ID down through the buffer so it can be accessed via a fn on mcl::ClientBuffer. This route is more in line with how BufferDepository works, where you can access the current id there.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
| Andreas Pokorny (andreas-pokorny) wrote : | # |
11: [----------] 2 tests from ThreadedDispatc
11: [ RUN ] ThreadedDispatc
11: Running main() from main.cpp
no failure on phone but instead on clang: maybe the thread was not scheduled:
11: [ OK ] ThreadedDispatc
11: [ RUN ] ThreadedDispatc
11:
11: [WARNING] /usr/src/
11: /mir/tests/
11: Death test: { md::ThreadedDis
11: Result: failed to die.
11: Error msg:
11: [ DEATH ]
11: [ FAILED ] ThreadedDispatc
11: [----------] 2 tests from ThreadedDispatc
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
None: http://
FAILURE: http://
FAILURE: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
| Alan Griffiths (alan-griffiths) wrote : | # |
Merge conflict:
Text conflict in src/client/
1 conflicts encountered.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3060
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
- 3061. By Kevin DuBois on 2015-11-25
-
merge in mir
- 3062. By Kevin DuBois on 2015-11-25
-
merge in ci fix
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3062
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://

PASSED: Continuous integration, rev:3059 jenkins. qa.ubuntu. com/job/ mir-ci/ 5423/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/4671 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/3578 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/4613 jenkins. qa.ubuntu. com/job/ mir-mediumtests -wily-touch/ 571/console jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1577 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 1577/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 571 jenkins. qa.ubuntu. com/job/ mir-wily- i386-ci/ 571/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4614 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 4614/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- touch/7234 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 24642 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- wily-armhf/ 572/console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5423/ rebuild
http://