Re: New tile unref logic and various leak fixes
- From: Jiří Techet <techet gmail com>
- To: libchamplain-list gnome org
- Subject: Re: New tile unref logic and various leak fixes
- Date: Wed, 10 Mar 2010 01:59:19 +0100
On Sun, Mar 7, 2010 at 13:44, Jiří Techet <techet gmail com> wrote:
> These changes make it also possible to terminate tile loading while in
> progress (I haven't implemented this yet but I definitely plan to do
> that). I've always had a bad feeling that when you scroll fast enough
> you may be unnecessarily downloading tiles that you visited on the
> way, but which are not displayed in the view any more. Tile
> downloading could be stopped now when the tile is destroyed (as I said
> previously - it will be destroyed now even if the map source is still
> loading data for it) and hooking to the "destroy" event of it and
> calling soup_session_cancel_message() inside. Should be pretty
> straightforward.
>
Done. The difference when launcher-gtk is maximized (well, and if you
have 24' monitor like me) and scroll fast is quite significant.
(see http://gitorious.org/~techy/libchamplain/unref-clone).
Jiri
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]