NEW 84541
DisplayRefreshMonitorMac passes outputTime instead of now to ScriptedAnimationController
https://bugs.webkit.org/show_bug.cgi?id=84541
Summary DisplayRefreshMonitorMac passes outputTime instead of now to ScriptedAnimatio...
Nat Duca
Reported 2012-04-21 20:04:32 PDT
DisplayRefreshMonitorMac passes outputTime instead of now to ScriptedAnimationController
Attachments
Patch (1.73 KB, patch)
2012-04-21 20:07 PDT, Nat Duca
eric: review-
Nat Duca
Comment 1 2012-04-21 20:07:05 PDT
Nat Duca
Comment 2 2012-04-21 20:11:51 PDT
Perhaps I'm late to this party and posting a patch "after the debate." I noticed in changing raf to use high res time that not all our platforms are agreeing on the semantic meaning of the animationStartTime argument on the requestAnimationFrame callback. Other platforms != mac pass the time when everyone begins animating. The mac platform is passing the output time. This patch is mainly to figure out what opinions are. Really, we need to pass both. But, until we get that done, what should we pass? If it ends up being that we want mac to pass the output time as animationStartTime, I can kill this patch and/or update some of our variable bikesheds to make the meaning more precise.
Eric Seidel (no email)
Comment 3 2012-05-21 15:08:34 PDT
Comment on attachment 138264 [details] Patch cc1plus: warnings being treated as errors /Volumes/Data/WebKit/Source/WebCore/platform/graphics/mac/DisplayRefreshMonitorMac.cpp:87: warning: unused parameter 'nowSeconds' /Volumes/Data/WebKit/Source/WebCore/platform/graphics/mac/DisplayRefreshMonitorMac.cpp:87: warning: unused parameter 'outputTimeSeconds'
Eric Seidel (no email)
Comment 4 2012-05-21 15:08:56 PDT
I wonder if the mac-ews account does not have edit-bugs. It should have marked it cq-.
Lucas Forschler
Comment 5 2012-05-21 15:36:10 PDT
I have confirmed that the ews bot has edit bugs permissions. I don't think that is the issue.
Simon Fraser (smfr)
Comment 6 2017-02-01 12:07:15 PST
I think we fixed this.
Note You need to log in before you can comment on or make changes to this bug.