Merge lp:~kdub/mir/usage-deprecation-nested into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Daniel van Vugt on 2017-01-13 |
| Approved revision: | 3921 |
| Merged at revision: | 3933 |
| Proposed branch: | lp:~kdub/mir/usage-deprecation-nested |
| Merge into: | lp:mir |
| Diff against target: |
415 lines (+162/-33) 8 files modified
src/server/graphics/nested/buffer.cpp (+20/-0) src/server/graphics/nested/buffer.h (+6/-0) src/server/graphics/nested/host_connection.h (+2/-0) src/server/graphics/nested/mir_client_host_connection.cpp (+80/-2) src/server/graphics/nested/mir_client_host_connection.h (+2/-0) src/server/graphics/nested/platform.cpp (+8/-9) tests/include/mir/test/doubles/stub_host_connection.h (+8/-0) tests/unit-tests/platforms/nested/test_buffer.cpp (+36/-22) |
| To merge this branch: | bzr merge lp:~kdub/mir/usage-deprecation-nested |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Cemil Azizoglu (community) | Approve on 2017-01-12 | ||
| Alan Griffiths | 2017-01-11 | Approve on 2017-01-12 | |
| Mir CI Bot | continuous-integration | Approve on 2017-01-11 | |
|
Review via email:
|
|||
Commit Message
platform: add deprecation path for mg::BufferUsage for the nested platform. This adds a path to create a software buffer, and uses the extensions to create the hardware buffers.
Description of the Change
platform: add deprecation path for mg::BufferUsage for the nested platform. This adds a path to create a software buffer, and uses the extensions to create the hardware buffers.
| Alan Griffiths (alan-griffiths) wrote : | # |
Looks reasonable, but when I try to launch mir_demo_client inside a nested mir server it segfaults.
Host server:
$ bin/mir_demo_server --x11-displays 800x600 --launch qterminal\
Nested server (in first qtermial window):
$ bin/mir_demo_server --host $XDG_RUNTIME_
Client (in second qterminal window):
$ bin/mir_
I checked this works with 0.25
| Kevin DuBois (kdub) wrote : | # |
thanks for noticing, working on fixing. Was a bit overzealous in removing the old code before the whole new system is in place.
- 3919. By Kevin DuBois on 2017-01-12
-
add back path that allows for server-selected hardware allocation request
- 3920. By Kevin DuBois on 2017-01-12
-
merge in mir
- 3921. By Kevin DuBois on 2017-01-12
-
diff reduction
| Alan Griffiths (alan-griffiths) wrote : | # |
> thanks for noticing, working on fixing. Was a bit overzealous in removing the
> old code before the whole new system is in place.
Fixed. Thanks - I'll just have another look over the code
| Alan Griffiths (alan-griffiths) wrote : | # |
Looks good. (Would like CI to compile it before landing, just in case there's a weird compiler out there.)

PASSED: Continuous integration, rev:3918 /mir-jenkins. ubuntu. com/job/ mir-ci/ 2645/ /mir-jenkins. ubuntu. com/job/ build-mir/ 3435 /mir-jenkins. ubuntu. com/job/ build-0- fetch/3502 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 3494 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 3494 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= zesty/3494 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= zesty/3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= zesty/3464/ artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3464/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= zesty/3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= zesty/3464/ artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 3464/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 3464/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3464 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3464/artifact/ output/ *zip*/output. zip
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:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 2645/rebuild
https:/