Merge lp:~alan-griffiths/mir/only-visible-surfaces-change-scene into lp:mir
Proposed by
Alan Griffiths
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2614 |
Proposed branch: | lp:~alan-griffiths/mir/only-visible-surfaces-change-scene |
Merge into: | lp:mir |
Diff against target: |
154 lines (+26/-13) 4 files modified
src/server/scene/legacy_scene_change_notification.cpp (+11/-3) tests/integration-tests/test_surface_stack_with_compositor.cpp (+2/-2) tests/unit-tests/scene/test_basic_surface.cpp (+5/-0) tests/unit-tests/scene/test_legacy_scene_change_notification.cpp (+8/-8) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/only-visible-surfaces-change-scene |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Alexandros Frantzis (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+260746@code.launchpad.net |
Commit message
scene: surfaces that are not (and were not recently) visible shouldn't trigger compositing
Description of the change
scene: surfaces that are not (and were not recently) visible shouldn't trigger compositing
This is a significant part of the resolution to the discussion on the mir-devel mailing list "When should a nested server first post a buffer?"
We still need a test case for the nested server behaviour but this fixes the root cause (spurious "damage" triggering compositing).
To post a comment you must log in.
PASSED: Continuous integration, rev:2606 jenkins. qa.ubuntu. com/job/ mir-ci/ 3961/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/2649 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/160 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/2597 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 117 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 117/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2597 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 2597/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/5447 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 20874
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: 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- ci/3961/ rebuild
http://