Bug 144502

Summary: Avoid compositing updates after style recalcs which have no compositing implications
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, esprehn+autocc, glenn, kangil.han, kondapallykalyan, simon.fraser, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Simon Fraser (smfr) 2015-05-01 15:12:32 PDT
Avoid compositing updates after style recalcs which have no compositing implications
Comment 1 Simon Fraser (smfr) 2015-05-01 15:25:07 PDT
Created attachment 252176 [details]
Patch
Comment 2 Simon Fraser (smfr) 2015-05-01 15:26:57 PDT
rdar://problem/20592758
Comment 3 Darin Adler 2015-05-01 16:44:33 PDT
Comment on attachment 252176 [details]
Patch

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

> Source/WebCore/rendering/RenderLayerCompositor.cpp:4219
> +void RenderLayerCompositor::startTrackingCompositingUpdates()
> +{
> +    m_compositingUpdateCount = 0;
> +}
> +
> +unsigned RenderLayerCompositor::compositingUpdateCount() const
> +{
> +    return m_compositingUpdateCount;
> +}

Can these go inside of some #If?
Comment 4 Simon Fraser (smfr) 2015-05-01 19:34:27 PDT
https://trac.webkit.org/r183710