Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Issue 2791883002: Optimize ClipRects in the PrePaintTreeWalk (Closed)

Created:
3 years, 8 months ago by chrishtr
Modified:
3 years, 8 months ago
Reviewers:
Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Optimize ClipRects in the PrePaintTreeWalk. 1. Get rid of now-unnecessary logic to check clipping ancestors (GeomteryMapper now checks for transforms on infininte rects instead). 2. ALWAYS_INLINE on some helper methods of PrePaintTreeWalk. This is https://codereview.chromium.org/2784963002 without the change to remove RefPtrs for ClipRects. BUG=692614 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2791883002 Cr-Commit-Position: refs/heads/master@{#461478} Committed: https://chromium.googlesource.com/chromium/src/+/ca2623e17b5c45400485a2ceb08545baa9f09c4f

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Patch Set 6 : gc #

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Total comments: 2

Patch Set 11 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -33 lines) Patch
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 3 4 5 6 8 9 10 3 chunks +6 lines, -27 lines 0 comments Download

Messages

Total messages: 34 (29 generated)
chrishtr
3 years, 8 months ago (2017-04-03 16:03:54 UTC) #26
Xianzhu
lgtm https://codereview.chromium.org/2791883002/diff/170001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h (right): https://codereview.chromium.org/2791883002/diff/170001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h#newcode40 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h:40: // by ancestorPaintOffset. Sets hasClip to true if ...
3 years, 8 months ago (2017-04-03 16:30:15 UTC) #27
chrishtr
https://codereview.chromium.org/2791883002/diff/170001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h File third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h (right): https://codereview.chromium.org/2791883002/diff/170001/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h#newcode40 third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h:40: // by ancestorPaintOffset. Sets hasClip to true if a ...
3 years, 8 months ago (2017-04-03 16:36:42 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2791883002/190001
3 years, 8 months ago (2017-04-03 16:37:19 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 18:26:25 UTC) #34
Message was sent while issue was closed.
Committed patchset #11 (id:190001) as
https://chromium.googlesource.com/chromium/src/+/ca2623e17b5c45400485a2ceb085...

Powered by Google App Engine
This is Rietveld 408576698