3 [chromium] Route all animate calls through CCLayerTreeHost in composited mode to simplify rate limiting logic
4 https://bugs.webkit.org/show_bug.cgi?id=75577
5
6 Reviewed by NOBODY (OOPS!).
7
8 This internalizes the animation rate limiting logic to CCLayerTreeHost and removes the setters/getters for the
9 m_animating flag. This requires that all animation updates have to go through CCLayerTreeHost to get the right
10 rate limiting behavior, regardless of which proxy is being used.
11
12 * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
13 (WebCore::CCLayerTreeHost::updateAnimations):
14 (WebCore::CCLayerTreeHost::layout):
15 (WebCore::CCLayerTreeHost::startRateLimiter):
16 * platform/graphics/chromium/cc/CCLayerTreeHost.h:
17 * platform/graphics/chromium/cc/CCThreadProxy.cpp:
18 (WebCore::CCThreadProxy::beginFrameAndCommit):
19
202012-01-04 James Robinson <jamesr@chromium.org>
21