Merge lp:~vanvugt/mir/single-buffer into lp:mir
Status: | Rejected |
---|---|
Rejected by: | Daniel van Vugt |
Proposed branch: | lp:~vanvugt/mir/single-buffer |
Merge into: | lp:mir |
Diff against target: |
287 lines (+59/-22) 4 files modified
src/server/compositor/gl_renderer.cpp (+3/-0) src/server/compositor/switching_bundle.cpp (+38/-4) src/server/compositor/switching_bundle.h (+1/-1) tests/unit-tests/compositor/test_switching_bundle.cpp (+17/-17) |
To merge this branch: | bzr merge lp:~vanvugt/mir/single-buffer |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Needs Fixing | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alexandros Frantzis (community) | Abstain | ||
Review via email:
|
Commit message
Add basic support for single buffering at the lowest level. It won't be
turned on yet, but you can try it out by changing the "3" to "1" in
buffer_
Note that single buffered surfaces are nonblocking (no frame rate control).
This is suitable for most use cases of single buffering. But it doesn't
necessarily always have to be that way.
Description of the change
Why?
Because some applications like painting (fingerpaint) and raytracing etc are rendered cumulatively/
Unmerged revisions
- 1590. By Daniel van Vugt
-
Merge latest development-branch
- 1589. By Daniel van Vugt
-
Merge latest development-branch
- 1588. By Daniel van Vugt
-
Merge latest development-branch
- 1587. By Daniel van Vugt
-
Merge latest development-branch
- 1586. By Daniel van Vugt
-
Merge latest development-branch
- 1585. By Daniel van Vugt
-
Add a TODO comment to gl_renderer.cpp describing future work required.
- 1584. By Daniel van Vugt
-
Fix failing resize test case (resize support missing for single buffers).
- 1583. By Daniel van Vugt
-
First prototype of single buffering.
- 1582. By Daniel van Vugt
-
test_switching_
bundle. cpp: Modified a bundle of tests to include single
buffering. They presently fail but should be passable in future. - 1581. By Daniel van Vugt
-
Remove the symbolic constant "min_buffers". Making it easy to change could
result in test cases regressing without anyone noticing.
PASSED: Continuous integration, rev:1585 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/1425/ jenkins. qa.ubuntu. com/job/ mir-android- trusty- i386-build/ 1742 jenkins. qa.ubuntu. com/job/ mir-clang- trusty- amd64-build/ 1740 jenkins. qa.ubuntu. com/job/ mir-mediumtests -trusty- touch/1312 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 1157 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 1157/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 1162 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 1162/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/1315 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/1315/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/1211 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 6491
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/1425/ rebuild
http://