Merge lp:~afrantzis/mir/drop-stale-frames into lp:mir
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1796 |
Proposed branch: | lp:~afrantzis/mir/drop-stale-frames |
Merge into: | lp:mir |
Diff against target: |
531 lines (+315/-18) 15 files modified
include/server/mir/compositor/buffer_stream.h (+1/-0) include/test/mir_test_doubles/mock_buffer_bundle.h (+1/-0) include/test/mir_test_doubles/mock_buffer_stream.h (+1/-0) include/test/mir_test_doubles/stub_buffer_stream.h (+2/-0) server-ABI-sha1sums (+1/-1) src/server/compositor/buffer_bundle.h (+1/-0) src/server/compositor/buffer_queue.cpp (+30/-1) src/server/compositor/buffer_queue.h (+2/-0) src/server/compositor/buffer_stream_surfaces.cpp (+5/-0) src/server/compositor/buffer_stream_surfaces.h (+1/-0) src/server/scene/basic_surface.cpp (+2/-0) tests/acceptance-tests/CMakeLists.txt (+1/-0) tests/acceptance-tests/test_stale_frames.cpp (+206/-0) tests/integration-tests/test_swapinterval.cpp (+2/-16) tests/unit-tests/compositor/test_buffer_queue.cpp (+59/-0) |
To merge this branch: | bzr merge lp:~afrantzis/mir/drop-stale-frames |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin DuBois (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Robert Carr (community) | Approve | ||
Alan Griffiths | Approve | ||
Review via email: mp+227961@code.launchpad.net |
Commit message
server: Drop stale frames when a surface becomes exposed
When a surface changes from occluded to exposed, at best there is no
point in showing older, stale frames in quick succession, at worst the
stale frames result in visual glitches. We only care about the latest
surface buffer.
Description of the change
server: Drop stale frames when a surface becomes exposed
When a surface changes from occluded to exposed, at best there is no
point in showing older, stale frames in quick succession, at worst the
stale frames result in visual glitches. We only care about the latest
surface buffer.
This fixes one aspect of https:/
PASSED: Continuous integration, rev:1790 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/2220/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 1055 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 1061 jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/1047 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 742 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 742/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 743 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 743/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/3619 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/3619/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/2164 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 10300
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/2220/ rebuild
http://