Bug 36134

Summary: Drop out of compositing mode when no elements need to composite
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

Description Simon Fraser (smfr) 2010-03-15 13:34:39 PDT
Currently we never go out of compositing mode on a given page, even if no elements need to be composited. This means that we keep a layer-backed view subview of the WebHTMLView around, which can impact resize performance.
Comment 1 Simon Fraser (smfr) 2010-03-15 14:29:19 PDT
Created attachment 50740 [details]
Patch
Comment 2 mitz 2010-03-15 14:39:27 PDT
Comment on attachment 50740 [details]
Patch


> +            } else {
> +                m_rootPlatformLayer->setChildren(childList);
> +            }

Braces around one-line block.
Comment 3 Simon Fraser (smfr) 2010-03-15 14:47:46 PDT
http://trac.webkit.org/changeset/56017
Comment 4 Simon Fraser (smfr) 2010-03-15 14:49:02 PDT
<rdar://problem/7748315>