Bug 114267

Summary: Throttle compositing layer flushes in subframes
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, japhet, simon.fraser, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch kling: review+

Description Antti Koivisto 2013-04-09 04:44:07 PDT
Throttle compositing layer flushes in all frames, not just the main one.
Comment 1 Antti Koivisto 2013-04-09 04:46:10 PDT
Created attachment 197027 [details]
patch
Comment 2 Andreas Kling 2013-04-09 04:52:11 PDT
Comment on attachment 197027 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=197027&action=review

r=me

> Source/WebCore/page/FrameView.cpp:2297
> +        if (RenderView* renderView = frame->view()->renderView())
> +            renderView->compositor()->setLayerFlushThrottlingEnabled(isLoadProgressing);

I take it frame->view() is always non-null here.
Comment 3 Antti Koivisto 2013-04-09 05:11:11 PDT
http://trac.webkit.org/changeset/148013