Load images asynchronously
Testing phase.
Closes #16 (closed), #29 (closed), #32 (closed).
Reading files is already handled asynchronously, but data parsing by the pixbuf loader is blocking. Unfortunately, gdk-pixbuf does not offer an asynchronous API that covers both:
- loading a single image;
- loading an animation;
- loading at reduced scale (the "Limit rendering quality" option of Ristretto).
GdkPixbufLoader is the only object to cover all these possibilities in a unified API, in addition to allowing progressive loading (even if the latter is not really used by Ristretto). So it seems easiest to keep the current implementation, adding the asynchronous character "by hand", via a GTask.
Edited by Gaël Bonithon
Merge request reports
Activity
Filter activity
mentioned in issue #32 (closed)
added 10 commits
-
f6609db6...8e461d47 - 6 commits from branch
apps:master
- 47c8c24c - Increase image loading buffer size
- 22572aa2 - Fix memory management of image loading objects
- 26a53309 - Do not try to load images whose pixbuf is not available
- ef92fe1e - Load images asynchronously
Toggle commit list-
f6609db6...8e461d47 - 6 commits from branch
mentioned in issue #46
added 11 commits
-
5fc76da2...1a3a3181 - 7 commits from branch
apps:master
- 178f6c74 - Increase image loading buffer size
- f996b59c - Fix memory management of image loading objects
- c14022e3 - Do not try to load images whose pixbuf is not available
- 55afcd6e - Load images asynchronously
Toggle commit list-
5fc76da2...1a3a3181 - 7 commits from branch
mentioned in commit c0d3e5e8
mentioned in issue #83
mentioned in issue #84 (closed)
changed milestone to %0.12.1
Please register or sign in to reply