[Webkit-unassigned] [Bug 112327] Reorganize image animation starting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 26 03:12:53 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112327





--- Comment #23 from Nandor Huszka <hnandor at inf.u-szeged.hu>  2013-04-26 03:11:11 PST ---
(In reply to comment #22)
> To explain how tiled backing store works: we maintain a grid of tiles (each is its own bitmap, in a CoreAnimation layer). Scrolling involves moving these tiles around (often on another thread), so is very fast. At intervals, we recompute which tiles should be visible, adding some padding around the edges so that you have something to show on scrolling most of the time.
> 
> Now, if we change gif animations to be started by some kind ImageAnimationController, independently of painting, we'll have to do work every time we bring in new tiles. We'll have to go through all the known animated GIFs (those for <img> and in the RenderStyle), compute which rect they get rendered to in absolute coords, and figure out if they should be started. Similarly with the area of removed tiles; we'll want to stop animations in those areas.
> 
> I think the amount of work to do this is significant; it's a lot of rect computation and image management. The beauty of the current approach (just animate when painting) is its simplicity.

Thank you for the explanation. It will be followed not immediately but in the future certainly.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list