Merge lp:~kdub/mir/submission-associated-buffer-cb into lp:mir
Status: | Merged |
---|---|
Approved by: | Cemil Azizoglu |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3974 |
Proposed branch: | lp:~kdub/mir/submission-associated-buffer-cb |
Merge into: | lp:mir |
Diff against target: |
517 lines (+116/-159) 13 files modified
playground/mir_demo_client_chain_jumping_buffers.c (+2/-1) playground/mir_demo_client_prerendered_frames.c (+1/-1) src/client/mir_buffer_api.cpp (+36/-13) src/client/mir_presentation_chain_api.cpp (+5/-1) src/client/symbols.map (+1/-1) src/include/client/mir_toolkit/mir_buffer.h (+15/-15) src/include/client/mir_toolkit/mir_presentation_chain.h (+10/-6) src/server/graphics/nested/mir_client_host_connection.cpp (+9/-2) src/server/graphics/nested/native_buffer.h (+1/-0) tests/acceptance-tests/test_presentation_chain.cpp (+33/-119) tests/unit-tests/platforms/nested/test_buffer.cpp (+1/-0) tests/unit-tests/platforms/nested/test_ipc_operations.cpp (+1/-0) tests/unit-tests/platforms/nested/test_nested_display_buffer.cpp (+1/-0) |
To merge this branch: | bzr merge lp:~kdub/mir/submission-associated-buffer-cb |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cemil Azizoglu (community) | Approve | ||
Chris Halse Rogers | Approve | ||
Alan Griffiths | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Mir CI Bot | continuous-integration | Approve | |
Review via email: mp+315214@code.launchpad.net |
Commit message
MirBuffer api: When a MirBuffer is submitted, the client api user will get a callback from the server once the MirBuffer is available again. Previously this callback was something given at buffer creation time, and could be set to something else later. This proposes changing the callback to be given at each time of submission.
This lets the api user:
1) have a handy mir_connection_
2) Puts callback designation closer to submission, which might make more sense, as the user is managing the effect of submitting at the same place they're submitting the buffer to the server.
This is for the 0.27 series (when MirSurface/
Description of the change
MirBuffer api: When a MirBuffer is submitted, the client api user will get a callback from the server once the MirBuffer is available again. Previously this callback was something given at buffer creation time, and could be set to something else later. This proposes changing the callback to be given at each time of submission.
This lets the api user:
1) have a handy mir_connection_
2) Puts callback designation closer to submission, which might make more sense, as the user is managing the effect of submitting at the same place they're submitting the buffer to the server.
This is for the 0.27 series (when MirSurface/
FAILED: Continuous integration, rev:3964 /mir-jenkins. ubuntu. com/job/ mir-ci/ 2795/ /mir-jenkins. ubuntu. com/job/ build-mir/ 3663/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/3742 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 3732 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 3732 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= zesty/3732 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= zesty/3690/ console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3690 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3690/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= zesty/3690 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= zesty/3690/ artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 3690 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 3690/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 3690 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 3690/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3690 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 3690/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: 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/ 2795/rebuild
https:/