Merge lp:~canonical-dx-team/unity/batch-icon-loading into lp:unity
Proposed by
Neil J. Patel
Status: | Merged |
---|---|
Merged at revision: | 482 |
Proposed branch: | lp:~canonical-dx-team/unity/batch-icon-loading |
Merge into: | lp:unity |
Prerequisite: | lp:~unity-team/unity/fix-places-memleaks |
Diff against target: |
324 lines (+207/-11) 3 files modified
unity-private/launcher/quicklist-menu-item.vala (+0/-2) unity-private/places/places-default-renderer-group.vala (+3/-0) unity/unity-pixbuf-cache.vala (+204/-9) |
To merge this branch: | bzr merge lp:~canonical-dx-team/unity/batch-icon-loading |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gord Allott | Pending | ||
Review via email: mp+34506@code.launchpad.net |
Description of the change
This branch changes icon loading to basically do it in batch fashion instead of tons of idles which like to starve the main loop.
Basically we queue all new requests and have a callback on a timeout to process a few of the requests at a time. We also allow the renderers to explicitly call the iteration should they require some there-and-there processing.
This is really for the first time you hit most of the places, after that the cache is warm and it's much, much quicker (especially now that we're not leaking textures!).
To post a comment you must log in.