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

Issue 399173005: Incrementally invalidate boxes with borders if possible (Closed)

Created:
6 years, 5 months ago by Xianzhu
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Incrementally invalidate boxes with borders if possible This actually restores RenderBox::incrementallyInvalidatePaint() which was removed in http://src.chromium.org/viewvc/blink?view=revision&revision=177971 because it was buggy. This change handles borders and border-radius. BUG=390587 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180596

Patch Set 1 : The original incrementallyInvalidatePaint code for comparison #

Patch Set 2 : WIP #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 8

Patch Set 5 : For landing #

Patch Set 6 : Rebase #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -48 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M LayoutTests/fast/repaint/border-radius-repaint-2-expected.txt View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M LayoutTests/fast/repaint/border-radius-without-border-expected.txt View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/repaint/box-sizing-expected.txt View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M LayoutTests/fast/repaint/resize-child-within-overflow-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/repaint/resize-with-border.html View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M LayoutTests/fast/repaint/resize-with-border-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/border-radius-repaint-expected.txt View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/border-repaint-glitch-expected.txt View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-2-expected.txt View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-8-expected.txt View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/repaint-resized-overflow-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/selection-after-delete-expected.txt View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/subtree-layoutstate-transform-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 6 2 chunks +77 lines, -13 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Xianzhu
Incremental invalidation for box-shadow, outline and border-image-outsets will be added in later changes.
6 years, 5 months ago (2014-07-21 22:49:02 UTC) #1
Xianzhu
ping...
6 years, 5 months ago (2014-07-23 16:47:14 UTC) #2
esprehn
lgtm, do we have a good sense if all of this incremental invalidation is improving ...
6 years, 4 months ago (2014-08-19 01:59:12 UTC) #3
Xianzhu
Some reasons of the patch: - It brings back part of the original incremental invalidation ...
6 years, 4 months ago (2014-08-19 16:06:20 UTC) #4
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-08-19 16:22:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/399173005/80001
6 years, 4 months ago (2014-08-19 16:23:20 UTC) #6
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-08-19 16:43:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/399173005/100001
6 years, 4 months ago (2014-08-19 16:44:39 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-19 16:49:42 UTC) #9
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-08-19 16:50:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/399173005/120001
6 years, 4 months ago (2014-08-19 16:51:01 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-19 17:35:05 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-19 17:48:56 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/21964)
6 years, 4 months ago (2014-08-19 17:48:57 UTC) #14
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 4 months ago (2014-08-19 17:51:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/399173005/140001
6 years, 4 months ago (2014-08-19 17:51:36 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-19 19:00:38 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 19:45:15 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (140001) as 180596

Powered by Google App Engine
This is Rietveld 408576698