RESOLVED FIXED 134879
[iOS] Throttle painting using a UI-process-side CADisplayLink
https://bugs.webkit.org/show_bug.cgi?id=134879
Summary [iOS] Throttle painting using a UI-process-side CADisplayLink
Tim Horton
Reported 2014-07-13 19:30:07 PDT
Just waiting for CA to "commit" in the UI process isn't enough, because we still aren't throttled to 60fps, because the UI process runloop is just happily looping away. Let's use a CADisplayLink and actually throttle the didUpdate reply to 60fps, thus throttling painting (often only barely makes 60fps anyway) and requestAnimationFrame (much more problematic). <rdar://problem/17641699>
Attachments
patch (7.40 KB, patch)
2014-07-13 21:58 PDT, Tim Horton
simon.fraser: review+
Tim Horton
Comment 1 2014-07-13 21:58:19 PDT
Simon Fraser (smfr)
Comment 2 2014-07-14 10:22:15 PDT
Comment on attachment 234840 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=234840&action=review > Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:67 > + _displayLink.paused = true; YES
Tim Horton
Comment 3 2014-07-14 11:12:29 PDT
Note You need to log in before you can comment on or make changes to this bug.