Merge lp:~unity-team/unity/fast-icons into lp:unity
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Neil J. Patel | ||||||||
Approved revision: | no longer in the source branch. | ||||||||
Merged at revision: | 535 | ||||||||
Proposed branch: | lp:~unity-team/unity/fast-icons | ||||||||
Merge into: | lp:unity | ||||||||
Diff against target: |
499 lines (+209/-162) 3 files modified
unity-private/places/places-default-renderer-group.vala (+0/-3) unity/unity-io.vala (+1/-1) unity/unity-pixbuf-cache.vala (+208/-158) |
||||||||
To merge this branch: | bzr merge lp:~unity-team/unity/fast-icons | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Neil J. Patel | Pending | ||
Review via email: mp+36272@code.launchpad.net |
Description of the change
This branch optimizes the icon loading considerably. Most notably the places will now appear on screen much faster. You will note that on initial launch of a place the icons will not appear instantly - in fact may appear to arrive slower than before. This is due to the fact that the new code shows the place on screen much earlier than the old code.
It also fixes the bug where tiles in the places could sometimes have the wrong icon.
DISCLAIMER: It breaks ABI and API of Unity.IO. Slightly. This was required to remove a heckuwa lot of reallocations of some big IO buffers. Unity internally has been updated to reflect this (of course). The place daemons are the only other consumers, and I will update them to require the latest unity, which should make this a non-problem.
Works very well and I think teh ABI break is fine as libunity is still only used within the DX team. Approved!