Merge lp://staging/~vanvugt/mir/scanout into lp://staging/~mir-team/mir/trunk
Status: | Merged |
---|---|
Approved by: | Alexandros Frantzis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1063 |
Proposed branch: | lp://staging/~vanvugt/mir/scanout |
Merge into: | lp://staging/~mir-team/mir/trunk |
Diff against target: |
287 lines (+111/-3) 13 files modified
include/platform/mir/graphics/buffer_ipc_packer.h (+1/-0) include/shared/mir_toolkit/mir_native_buffer.h (+10/-1) include/test/mir_test_doubles/mock_buffer_packer.h (+1/-0) src/client/mir_surface.cpp (+1/-0) src/server/frontend/protobuf_buffer_packer.cpp (+6/-0) src/server/frontend/protobuf_buffer_packer.h (+1/-0) src/server/graphics/gbm/gbm_buffer.cpp (+1/-0) src/server/graphics/gbm/gbm_platform.cpp (+1/-0) src/shared/protobuf/mir_protobuf.proto (+2/-1) tests/acceptance-tests/test_client_library.cpp (+71/-0) tests/mir_test_framework/testing_server_options.cpp (+12/-1) tests/unit-tests/frontend/test_protobuf_buffer_packer.cpp (+2/-0) tests/unit-tests/graphics/gbm/test_gbm_platform.cpp (+2/-0) |
To merge this branch: | bzr merge lp://staging/~vanvugt/mir/scanout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
Kevin DuBois (community) | Approve | ||
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+184961@code.staging.launchpad.net |
Commit message
Add a "flags" field to MirBufferPackage so that clients can find out if the
buffer they've been given is scanout-capable. This is normally something a
client should never need to know. However there are two specialized cases
where it's required to fix bugs in the intel and radeon X drivers:
LP: #1218735, LP: #1218815
The intel fix (already landed) contains a hack which will be updated after
this branch lands.
Description of the change
The weird looking reshuffle in mir_native_buffer.h is necessary to avoid breaking the ABI for Mesa. It seems only Mesa is inflexible enough that we can't extend MirBufferPackage without breaking it. So we avoid growing the size of MirBufferPackage for now.
PASSED: Continuous integration, rev:1067 jenkins. qa.ubuntu. com/job/ mir-ci/ 1466/ jenkins. qa.ubuntu. com/job/ mir-android- saucy-i386- build/1981 jenkins. qa.ubuntu. com/job/ mir-clang- saucy-amd64- build/1866 jenkins. qa.ubuntu. com/job/ mir-saucy- amd64-ci/ 704 jenkins. qa.ubuntu. com/job/ mir-saucy- amd64-ci/ 704/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ mir-ci/ 1466/rebuild
http://