-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=94254 Patch by Brian Anderson <brianderson@chromium.org> on 2012-09-04 Reviewed by James Robinson. Removes support for infinite pending frames in CCFrameRateController if swap acks are available. Functionality covered by existing tests. * platform/graphics/chromium/cc/CCFrameRateController.cpp: (WebCore::CCFrameRateController::CCFrameRateController): (WebCore::CCFrameRateController::setMaxFramesPending): (WebCore::CCFrameRateController::setSwapBuffersCompleteSupported): (WebCore): (WebCore::CCFrameRateController::onTimerTick): (WebCore::CCFrameRateController::didBeginFrame): (WebCore::CCFrameRateController::didFinishFrame): * platform/graphics/chromium/cc/CCFrameRateController.h: (CCFrameRateController): * platform/graphics/chromium/cc/CCScheduler.cpp: (WebCore::CCScheduler::setSwapBuffersCompleteSupported): (WebCore): * platform/graphics/chromium/cc/CCScheduler.h: (CCScheduler): * platform/graphics/chromium/cc/CCThreadProxy.cpp: (WebCore::CCThreadProxy::initializeRendererOnImplThread): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
341b68b6