Merge lp:~alan-griffiths/mir/nested-server-uses-host-graphics-platform into lp:mir
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Alexandros Frantzis on 2016-01-15 | ||||
| Approved revision: | 3244 | ||||
| Merged at revision: | 3244 | ||||
| Proposed branch: | lp:~alan-griffiths/mir/nested-server-uses-host-graphics-platform | ||||
| Merge into: | lp:mir | ||||
| Prerequisite: | lp:~alan-griffiths/mir/merge-0.18 | ||||
| Diff against target: |
851 lines (+335/-33) 31 files modified
examples/basic.c (+12/-0) include/client/mir_toolkit/client_types.h (+15/-0) include/client/mir_toolkit/mir_connection.h (+11/-0) include/common/mir/libname.h (+35/-0) include/platform/mir/graphics/platform_ipc_package.h (+7/-0) include/platform/mir/module_properties.h (+7/-1) src/client/mir_connection.cpp (+26/-0) src/client/mir_connection.h (+1/-0) src/client/mir_connection_api.cpp (+14/-0) src/client/symbols.map (+7/-1) src/common/CMakeLists.txt (+2/-1) src/common/libname.cpp (+29/-0) src/common/symbols.map (+3/-2) src/platforms/android/server/ipc_operations.cpp (+17/-2) src/platforms/android/server/platform.cpp (+7/-2) src/platforms/evdev/platform_factory.cpp (+6/-2) src/platforms/mesa/server/common/ipc_operations.cpp (+12/-1) src/platforms/mesa/server/kms/platform_symbols.cpp (+7/-2) src/platforms/mesa/server/x11/graphics/graphics.cpp (+9/-3) src/platforms/mesa/server/x11/input/input.cpp (+4/-2) src/protobuf/mir_protobuf.proto (+11/-0) src/protobuf/symbols.map (+27/-0) src/server/frontend/session_mediator.cpp (+12/-0) src/server/graphics/default_configuration.cpp (+16/-10) src/server/graphics/nested/host_connection.h (+1/-0) src/server/graphics/nested/mir_client_host_connection.cpp (+14/-0) src/server/graphics/nested/mir_client_host_connection.h (+1/-0) tests/include/mir/test/doubles/stub_host_connection.h (+2/-0) tests/mir_test_framework/platform_graphics_dummy.cpp (+2/-1) tests/mir_test_framework/stub_input.cpp (+5/-2) tests/mir_test_framework/stubbed_graphics_platform.cpp (+13/-1) |
||||
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/nested-server-uses-host-graphics-platform | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2016-01-14 | |
| Brandon Schaefer (community) | Approve on 2016-01-14 | ||
| Alberto Aguirre | Approve on 2016-01-14 | ||
| Kevin DuBois (community) | Approve on 2016-01-14 | ||
| Mir CI Bot | continuous-integration | Approve on 2016-01-14 | |
| Alexandros Frantzis (community) | Approve on 2016-01-13 | ||
| Cemil Azizoglu (community) | 2016-01-07 | Approve on 2016-01-11 | |
|
Review via email:
|
|||
Commit Message
Provide information on the selected graphics platform through the client API and use it in nested servers to select the same module. (LP:1515558)
Description of the Change
Provide information on the selected graphics platform through the client API and use it in nested servers to select the same module.
- 3237. By Alan Griffiths on 2016-01-07
-
Fix MIR_COMMON_SOURCES
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3237
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 3238. By Alan Griffiths on 2016-01-08
- 3239. By Alan Griffiths on 2016-01-08
-
Fix stanza name
- 3240. By Alan Griffiths on 2016-01-08
-
MIR_COMMON_
unreleased should depend on MIR_COMMON_5.1
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3239
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3240
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3240
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel van Vugt (vanvugt) wrote : | # |
I'm liking the implication of the branch name. Haven't got to a review yet.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3241
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3241
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Alexandros Frantzis (afrantzis) wrote : | # |
+#if 0
+ printf("Graphics module: %s (%d.%d%d) - file: %s\n",
+ properties.name,
+ properties.
+ properties.
+ properties.
+ properties.file);
+#endif
Not needed.
+ "mir:android"
Does the "mir:..." prefix denote that the module is provided by the mir team, or does it have some other meaning?
Looks good otherwise.
Needs fixing/info
- 3241. By Alan Griffiths on 2016-01-12
-
merge lp:mir
- 3242. By Alan Griffiths on 2016-01-12
-
Remove debug code, expand documentation
- 3243. By Alan Griffiths on 2016-01-13
-
merge lp:mir
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3243
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Kevin DuBois (kdub) wrote : | # |
44: + char const *file;
I guess a minor needs fixing, its not immediately obvious what the contents of 'file' are. (maybe rename to "library_filename" ?)
A followup (nonblocking) question (and maybe a followup MP) would be: would it be helpful to send both the server and client module names for the graphics platform? Perhaps by having:
mir_connection_
mir_connection_
mir_connection_
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3243
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 3244. By Alan Griffiths on 2016-01-14
-
s/file/filename/
| Alan Griffiths (alan-griffiths) wrote : | # |
> 44: + char const *file;
>
> I guess a minor needs fixing, its not immediately obvious what the contents of
> 'file' are. (maybe rename to "library_filename" ?)
It ought to be "module" rather than "library", but that is somewhat redundant in a struct called MirModuleProper
I guess "filename" is a little clearer than "file" though.
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3244
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3244
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:3236 jenkins. qa.ubuntu. com/job/ mir-ci/ 5951/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/5452/ console jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/4359/ console jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/5408/ console jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 275/console jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 275/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5405/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5951/ rebuild
http://