mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
5ae81e4455
Rewrite VsyncRefreshDriverTimer::GetTimerRate to always use the cached value of the vsync rate in VsyncChild to avoid processing events on the main thread. Since VsyncChild::GetTimerRate is called in VsyncRefreshDriverTimer's constructor, that cached value is bound to be set soon. This should make the period of time we need to guess in VsyncRefreshDriverTimer::GetTimerRate very short. MozReview-Commit-ID: 1bnHNXAP8jY --HG-- extra : rebase_source : 5a731962d417c4b3352970b2adb92b5d31de021c |
||
---|---|---|
.. | ||
moz.build | ||
PRenderFrame.ipdl | ||
PVsync.ipdl | ||
RenderFrameChild.cpp | ||
RenderFrameChild.h | ||
RenderFrameParent.cpp | ||
RenderFrameParent.h | ||
VsyncChild.cpp | ||
VsyncChild.h | ||
VsyncParent.cpp | ||
VsyncParent.h |