Merge lp:~kdub/mir/detect-demo-decorations into lp:mir
Status: | Work in progress |
---|---|
Proposed branch: | lp:~kdub/mir/detect-demo-decorations |
Merge into: | lp:mir |
Prerequisite: | lp:~kdub/mir/fix-1299977-take3 |
Diff against target: |
334 lines (+174/-11) 10 files modified
examples/demo-shell/CMakeLists.txt (+6/-2) examples/demo-shell/demo_compositor.cpp (+38/-6) examples/demo-shell/demo_compositor.h (+5/-2) examples/demo-shell/demo_shell.cpp (+1/-1) include/test/mir_test_doubles/mock_display_buffer.h (+2/-0) include/test/mir_test_doubles/mock_gl.h (+1/-0) tests/mir_test_doubles/mock_gl.cpp (+6/-0) tests/unit-tests/CMakeLists.txt (+2/-0) tests/unit-tests/examples/CMakeLists.txt (+5/-0) tests/unit-tests/examples/test_demo_compositor.cpp (+108/-0) |
To merge this branch: | bzr merge lp:~kdub/mir/detect-demo-decorations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Needs Resubmitting | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+227396@code.launchpad.net |
Commit message
demo shell: detect when decorations for the windows are on screen. When a decoration that can't be represented in the optimized abstraction needs to be painted, render using opengl. This makes the --disable-overlays false option on android not look so bad.
Description of the change
demo shell: detect when decorations for the windows are on screen. When a decoration that can't be represented in the optimized abstraction needs to be painted, render using opengl. This makes the --disable-overlays false option on android not look so bad. More work is still needed to detect when only the grey background is visible before the demo shell looks good when android is transitioning back and forth from gl to overlay. (and change the default to overlay on by default)
Note how the demo compositor code is not thinking about what sort of hardware optimization would go on, only if it could represent what it wants to paint as a RenderableList. On the mesa platform, an exactly fullscreen client would be bypassed. On android, a fullscreen client and larger would be optimized as an overlay.
Unmerged revisions
- 1699. By Kevin DuBois
-
make a type richer
- 1698. By Kevin DuBois
-
remerge in fix base branch, because bzr cant tfigure out the history here apparently
- 1697. By Kevin DuBois
-
merge devel
- 1696. By Kevin DuBois
-
test to pass
- 1695. By Kevin DuBois
-
work through some problems to see the test fail
- 1694. By Kevin DuBois
-
make it possible to statically link the test binary to the demo shell code
- 1693. By Kevin DuBois
-
add test that checks the demo shell compositor
FAILED: Continuous integration, rev:1699 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/2194/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 1001 jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 1007 jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/996/ console jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 716/console jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 717/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/3378/ console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/2194/ rebuild
http://