Merge lp:~mterry/unity-system-compositor/default-wallpaper into lp:unity-system-compositor
Status: | Merged |
---|---|
Approved by: | Michael Terry |
Approved revision: | 300 |
Merged at revision: | 300 |
Proposed branch: | lp:~mterry/unity-system-compositor/default-wallpaper |
Merge into: | lp:unity-system-compositor |
Diff against target: |
178 lines (+40/-15) 4 files modified
CMakeLists.txt (+1/-0) debian/control (+2/-0) spinner/CMakeLists.txt (+2/-7) spinner/eglspinner.cpp (+35/-8) |
To merge this branch: | bzr merge lp:~mterry/unity-system-compositor/default-wallpaper |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Approve | |
Alexandros Frantzis (community) | Approve | ||
Review via email: mp+297791@code.launchpad.net |
Commit message
Use system wallpaper instead of custom built-in one.
Additionally, crop it instead of stretching it.
Description of the change
I used gdk-pixbuf for loading the image. Is there a better library to use? We were already using glib, so it didn't seem like a big stretch.
Question for reviewers: how badly do we want performance here? It's good to reduce the gap between the firmware screen and the spinner screen. Here's rough timings from program launch to first frame for the old background and new (on my laptop, which is presumably beefier than my phone):
Old background (statically linked into binary): ~0.080s
New background (statically linked into binary): ~0.125s
New background (dynamically loaded): ~0.250s
This MP is currently dynamically loaded, since it's "most correct". But it might be worth statically linking the image for the time savings? It means we'd have to no-change rebuild the package every time ubuntu-wallpapers updates the default image before USC picks it up.
I'm open to options.
Also related:
- https:/
- https:/
I've made silo 23 that includes all three for easier testing.
FAILED: Continuous integration, rev:300 /mir-jenkins. ubuntu. com/job/ usc-ci/ 30/ /mir-jenkins. ubuntu. com/job/ build-usc/ 41/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/1364 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1355 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1355 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- usc/arch= amd64,release= xenial/ 45/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- usc/arch= armhf,release= vivid+overlay/ 45/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- usc/arch= i386,release= xenial/ 45/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ usc-ci/ 30/rebuild
https:/