[Webkit-unassigned] [Bug 134398] Flush throttling with remote layers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 27 11:16:11 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134398





--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-06-27 11:16:29 PST ---
FrameView::updateLayerFlushThrottlingInAllFrames() should call FrameView::frameLoadProgressingStatusChanged(Frame*)

FrameView::frameLoadProgressingStatusChanged() calls
    updateLayerFlushThrottlingInAllFrames();
    adjustTiledBackingCoverage();

FrameView::updateLayerFlushThrottlingInAllFrames()
{
    bool isMainLoadProgressing = frame().page()->progress().isMainLoadProgressing();
    if (frame().page()->chrome().client().adjustLayerFlushThrottling(isMainLoadProgressing))
        return; // client handled throttling
    ...
}

Maybe have:

enum ThottleState {
    MainLoadProgressing = 1 << 0,
    UserIsInteracting = 1 << 1
    ...
};

typedef unsigned ThottleStateFlags;

ChromeClient::adjustLayerFlushThrottling(ThottleStateFlags);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list