Bug 144502 - Avoid compositing updates after style recalcs which have no compositing implications
Summary: Avoid compositing updates after style recalcs which have no compositing impli...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-05-01 15:12 PDT by Simon Fraser (smfr)
Modified: 2015-05-01 19:34 PDT (History)
8 users (show)

See Also:


Attachments
Patch (17.07 KB, patch)
2015-05-01 15:25 PDT, Simon Fraser (smfr)
darin: review+
Details | Formatted Diff | Diff

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