[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDI+ take 3

From: Eli Zaretskii
Subject: Re: GDI+ take 3
Date: Sat, 18 Apr 2020 21:01:11 +0300

> From: Juan José García-Ripoll
>  <address@hidden>
> Date: Sat, 18 Apr 2020 19:51:01 +0200
> Eli Zaretskii <address@hidden> writes:
> >> That happening / not happening suggest we're accessing some uninitialized
> >> memory or some such, I suspect.
> >
> > That'd be my guess, yes.
> Don't think so. If there was corruption, you would see a crash, as it
> already happened with TIFF; from what I gather, it simply stops
> animating but Emacs keeps working. Couldn't it be just a problem of
> latency?

Yes, that could also be the reason.

> Emacs is doing something rather ugly with animated images: it reloads
> them every time a new frame is requested. This means decoding the entire
> image; extracting the frame; displaying it; dropping the image.

The image shouldn't be dropped, it should be cached, AFAIU.  Although
maybe we cache each frame separately, in which case the caching will
not help, indeed, at least not the first time we play the animation.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]