Summary: | [iOS] Throttle SVG SMIL animations to 30fps in low power mode | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||
Component: | SVG | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | barraclough, commit-queue, jonlee, sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Chris Dumez
2017-03-03 09:40:45 PST
Created attachment 303331 [details]
Patch
Comment on attachment 303331 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=303331&action=review > Source/WebCore/svg/animation/SMILTimeContainer.cpp:39 > +static const Seconds SMILAnimationFrameDelay { 1.0 / 60 }; > +static const Seconds SMILAnimationFrameThrottledDelay { 1.0 / 30 }; Not sure why these aren't slightly less than these values, as we do for CSS and timer-based rAF. Comment on attachment 303331 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=303331&action=review >> Source/WebCore/svg/animation/SMILTimeContainer.cpp:39 >> +static const Seconds SMILAnimationFrameThrottledDelay { 1.0 / 30 }; > > Not sure why these aren't slightly less than these values, as we do for CSS and timer-based rAF. Would you like me to align the values in this patch? Comment on attachment 303331 [details] Patch Clearing flags on attachment: 303331 Committed r213393: <http://trac.webkit.org/changeset/213393> All reviewed patches have been landed. Closing bug. |