Bug 175393 - [Repaint from Layout Removal] Move layer repaint rects into a map
Summary: [Repaint from Layout Removal] Move layer repaint rects into a map
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 12:19 PDT by Dave Hyatt
Modified: 2017-08-09 14:03 PDT (History)
4 users (show)

See Also:


Attachments
Patch (16.29 KB, patch)
2017-08-09 12:22 PDT, Dave Hyatt
zalan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2017-08-09 12:19:45 PDT
Move layer repaint rects into a map. Since many layers aren't self-painting, they're wasting space holding those rects. In addition, once we start caching rects for RenderLayerModelObjects that don't have layers (i.e., everyone using a LayoutRepainter right now), then we'll want to have a common structure.
Comment 1 Dave Hyatt 2017-08-09 12:22:25 PDT
Created attachment 317728 [details]
Patch
Comment 2 Build Bot 2017-08-09 12:24:09 PDT
Attachment 317728 [details] did not pass style-queue:


ERROR: Source/WebCore/rendering/RenderLayerModelObject.h:33:  One space before end of line comments  [whitespace/comments] [5]
ERROR: Source/WebCore/rendering/RenderLayerModelObject.h:35:  The parameter name "geometryMap" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 2 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Dave Hyatt 2017-08-09 14:03:17 PDT
Landed in r220479.