Merge lp:~afrantzis/unity-system-compositor/fix-1463855-usc-spinner into lp:unity-system-compositor
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alexandros Frantzis | ||||
Approved revision: | 220 | ||||
Merged at revision: | 219 | ||||
Proposed branch: | lp:~afrantzis/unity-system-compositor/fix-1463855-usc-spinner | ||||
Merge into: | lp:unity-system-compositor | ||||
Diff against target: |
252 lines (+86/-23) 3 files modified
spinner/eglapp.cpp (+15/-4) spinner/miregl.cpp (+64/-15) spinner/miregl.h (+7/-4) |
||||
To merge this branch: | bzr merge lp:~afrantzis/unity-system-compositor/fix-1463855-usc-spinner | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Halse Rogers | Approve | ||
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+261635@code.launchpad.net |
Commit message
spinner: Fix failure to run on Android
This MP:
1. Passes surface dimensions in addition to the output_id when placing on a specific output. This is needed as a workaround for our Android backend, which unfortunately uses the value of mir_display_
2. Sets swapinterval correctly per surface.
3. Uses eglQuerySurface to get the surface size (instead of mir_buffer_
4. Uses a dummy pbuffer surface to emulate a surfaceless context on platforms that don't support it (e.g. Android).
Description of the change
spinner: Fix failure to run on Android
This MP:
1. Passes surface dimensions in addition to the output_id when placing on a specific output. This is needed as a workaround for our Android backend, which unfortunately uses the value of mir_display_
2. Sets swapinterval correctly per surface.
3. Uses eglQuerySurface to get the surface size (instead of mir_buffer_
4. Uses a dummy pbuffer surface to emulate a surfaceless context on platforms that don't support it (e.g. Android).
PASSED: Continuous integration, rev:220 jenkins. qa.ubuntu. com/job/ unity-system- compositor- ci/228/ jenkins. qa.ubuntu. com/job/ unity-system- compositor- wily-amd64- ci/16 jenkins. qa.ubuntu. com/job/ unity-system- compositor- wily-armhf- ci/16 jenkins. qa.ubuntu. com/job/ unity-system- compositor- wily-armhf- ci/16/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity-system- compositor- wily-i386- ci/16
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- system- compositor- ci/228/ rebuild
http://