Subject: Re: bug#47895: 28.0.50; Emacs should only animate images that are visible

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Apr 2021 01:23:55 +0200

Alan Third <[email-masked]> writes:

> Since the image is being loaded whether it's displayed or not it may
> be worth checking if it's also being flushed from the cache every time
> through the animation. If so the high CPU usage is presumably due to
> Emacs having to reload the frame every time.

Yup; should also be checked.  (I introduced a separate cache for this in
the ImageMagick case many years ago, but the non-ImageMagick one doesn't
have an animation cache, if I remember correctly.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no