Merge lp:~kdub/mir/passthrough-ipc-plumbing into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Daniel van Vugt on 2016-09-28 |
| Approved revision: | 3718 |
| Merged at revision: | 3725 |
| Proposed branch: | lp:~kdub/mir/passthrough-ipc-plumbing |
| Merge into: | lp:mir |
| Prerequisite: | lp:~kdub/mir/nested-native-buffer |
| Diff against target: |
1083 lines (+479/-47) 33 files modified
include/common/mir_toolkit/mir_native_buffer.h (+2/-1) src/client/mir_buffer_api.cpp (+14/-0) src/client/symbols.map (+1/-0) src/include/client/mir/client_buffer.h (+1/-0) src/include/client/mir_toolkit/mir_buffer.h (+8/-0) src/include/platform/mir/graphics/buffer_ipc_message.h (+1/-1) src/platforms/android/client/buffer.cpp (+14/-7) src/platforms/android/client/buffer.h (+2/-0) src/platforms/android/client/gralloc_registrar.cpp (+4/-4) src/platforms/android/include/native_buffer.h (+0/-5) src/platforms/android/server/ipc_operations.cpp (+3/-2) src/platforms/eglstream-kms/client/client_buffer.cpp (+5/-0) src/platforms/eglstream-kms/client/client_buffer.h (+1/-0) src/platforms/mesa/client/client_buffer.cpp (+5/-0) src/platforms/mesa/client/client_buffer.h (+1/-0) src/server/frontend/protobuf_buffer_packer.cpp (+5/-0) src/server/frontend/protobuf_buffer_packer.h (+1/-0) src/server/graphics/nested/CMakeLists.txt (+1/-0) src/server/graphics/nested/ipc_operations.cpp (+92/-0) src/server/graphics/nested/ipc_operations.h (+48/-0) src/server/graphics/nested/native_buffer.h (+4/-0) tests/acceptance-tests/throwback/test_presentation_chain.cpp (+22/-0) tests/include/mir/test/doubles/mock_buffer_ipc_message.h (+1/-0) tests/include/mir/test/doubles/mock_client_buffer.h (+1/-0) tests/include/mir/test/doubles/null_client_buffer.h (+2/-0) tests/include/mir/test/doubles/stub_client_buffer.h (+9/-5) tests/unit-tests/client/test_aging_buffer.cpp (+5/-0) tests/unit-tests/platforms/android/client/test_buffer.cpp (+8/-8) tests/unit-tests/platforms/android/client/test_gralloc_registrar.cpp (+8/-8) tests/unit-tests/platforms/android/server/test_platform.cpp (+6/-5) tests/unit-tests/platforms/nested/CMakeLists.txt (+1/-0) tests/unit-tests/platforms/nested/test_buffer.cpp (+4/-1) tests/unit-tests/platforms/nested/test_ipc_operations.cpp (+199/-0) |
| To merge this branch: | bzr merge lp:~kdub/mir/passthrough-ipc-plumbing |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mir CI Bot | continuous-integration | Approve on 2016-09-27 | |
| Brandon Schaefer (community) | Approve on 2016-09-26 | ||
| Cemil Azizoglu (community) | 2016-09-14 | Approve on 2016-09-14 | |
|
Review via email:
|
|||
Commit Message
ipc: add the ability to pass MirBuffers in the nested server to the nested clients.
This needed some rework of android's fence-passing mechanism to be a bit more generic, so the nested platform can forward fences along properly.
Description of the Change
ipc: add the ability to pass MirBuffers in the nested server to the nested clients.
This needed some rework of android's fence-passing mechanism to be a bit more generic, so the nested platform can forward fences along properly.
| Cemil Azizoglu (cemil-azizoglu) wrote : | # |
Mildly prefer to have the nested platform in place before adding to it.
| Kevin DuBois (kdub) wrote : | # |
Hmm, not sure what having the nested platform in place means. Its currently organized as a mg::Platform and the code lives in the libmirserver.so library.
Splitting out the code into its own .so is in-progress, but the nested passthrough work doesn't depend on the nested code being in its own platform library.
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3714
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3715
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3716
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel van Vugt (vanvugt) wrote : | # |
^^^
Bug 1523621 and also Android vivid+overlay says:
19:26:42 ../../.
19:26:42 .WillByDefault(
19:26:42 ^
19:26:42 ../../.
19:26:42 ../../.
19:26:42 ../../.
19:26:42 operations.
19:26:42 ^
19:26:42 ../../.
19:26:42 cc1plus: all warnings being treated as errors
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3717
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:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
https:/
Executed test runs:
FAILURE: https:/
None: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
https:/
Executed test runs:
FAILURE: https:/
None: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
| Daniel van Vugt (vanvugt) wrote : | # |
08:07:21 Text conflict in src/client/
08:07:21 Text conflict in src/client/
08:07:21 Text conflict in src/platforms/
08:07:21 Text conflict in src/platforms/
08:07:21 Text conflict in src/platforms/
08:07:21 Text conflict in src/server/
08:07:21 Text conflict in tests/include/
08:07:21 Text conflict in tests/unit-
08:07:21 Text conflict in tests/unit-
08:07:21 9 conflicts encountered.
- 3718. By Kevin DuBois on 2016-09-27
-
merge mir, fix 9 conflicts
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3718
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:/

FAILED: Continuous integration, rev:3713 /mir-jenkins. ubuntu. com/job/ mir-ci/ 1715/ /mir-jenkins. ubuntu. com/job/ build-mir/ 2145/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/2207 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 2198 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 2198 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 2198 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= yakkety/ 2173/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2173/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= yakkety/ 2173/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 2173/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2173/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 1715/rebuild
https:/