Bug 114267 - Throttle compositing layer flushes in subframes
Summary: Throttle compositing layer flushes in subframes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 04:44 PDT by Antti Koivisto
Modified: 2013-04-09 05:11 PDT (History)
4 users (show)

See Also:


Attachments
patch (3.02 KB, patch)
2013-04-09 04:46 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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