[Webkit-unassigned] [Bug 103237] Performance gain for Animations using CSS 2D transforms while leveraging GPU accelerated compositing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 17 18:28:00 PST 2012


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





--- Comment #14 from cyang.tech at gmail.com  2012-12-17 18:30:17 PST ---
(In reply to comment #13)
> (In reply to comment #12)
> 
> > This patch is proposed to introduce new compositing layers and leverage GPU acceleration for those typical cases as I mentioned above.
> > Could you please kindly help to provide any clues for the implementation of existing accelerated animating 2D transforms since I am not familiar with this?
> 
> See the existing code that toggles compositing when a transform starts/stops animating. Simon is asking whether that's what your patch is trying to do. If so, it's already done. If it's trying to turn on compositing everywhere for 2d transforms, then we don't really want to do that for the reasons we've already mentioned. Is this patch trying to do something else?

Yes Jackson, I checked the code and found that the existed compositing seems only be toggled by the '-webkit-animation' property. However, some cases use only '-webkit-transform' plus 'setTimeout' to make animations (e.g. the attached benchmark). This patch was trying to introduce compositing layers for those typical cases. I will try to refine the patch and update a new one soon.

-- 
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