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

Issue 301843002: Store repaint rects in the coordinate space of their backing GraphicsLayer. (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, Julien - ping for review, pdr., rune+blink, Ian Vollick
Visibility:
Public.

Description

Store repaint rects in the coordinate space of their backing GraphicsLayer. In particular, do so for squashing layers. This allows us to track repaints for squashed layers where the layer itself does not change but the layer moves with respect to the layer it squashes into. BUG=370664 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175090

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Fixed. #

Patch Set 4 : Fixed #

Patch Set 5 : Fixed. #

Patch Set 6 : Fixed. #

Patch Set 7 : Final #

Patch Set 8 : Really final. #

Patch Set 9 : Fix comment. #

Total comments: 9

Patch Set 10 : Renamed method, fixed typo. #

Patch Set 11 : Added inline method. #

Patch Set 12 : Remove ternary. #

Patch Set 13 : Fix compile. #

Patch Set 14 : One more fix. #

Total comments: 6

Patch Set 15 : Changed name. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -77 lines) Patch
M LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt View 1 2 3 4 5 4 chunks +6 lines, -3 lines 0 comments Download
M Source/core/rendering/LayoutRepainter.cpp View 1 2 3 4 5 6 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderInline.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 1 2 3 4 5 2 chunks +3 lines, -30 lines 0 comments Download
M Source/core/rendering/RenderListMarker.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +11 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +16 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderReplaced.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderTableCell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderTableCell.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderText.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGForeignObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGForeignObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGText.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGText.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
chrishtr
6 years, 6 months ago (2014-05-29 18:06:20 UTC) #1
eseidel
6 years, 6 months ago (2014-05-29 18:16:05 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/301843002/diff/150001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/301843002/diff/150001/Source/core/rendering/RenderLayer.cpp#newcode733 Source/core/rendering/RenderLayer.cpp:733: LayoutStateDisabler layoutStateDisabler(*transformedAncestor); :( This should go away with RAL. ...
6 years, 6 months ago (2014-05-29 18:27:07 UTC) #3
chrishtr
https://codereview.chromium.org/301843002/diff/150001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/301843002/diff/150001/Source/core/rendering/RenderLayer.cpp#newcode733 Source/core/rendering/RenderLayer.cpp:733: LayoutStateDisabler layoutStateDisabler(*transformedAncestor); On 2014/05/29 18:27:08, leviw wrote: > :( ...
6 years, 6 months ago (2014-05-29 18:34:10 UTC) #4
chrishtr
Added inline method.
6 years, 6 months ago (2014-05-29 18:40:06 UTC) #5
chrishtr
Fixed compile, please re-review.
6 years, 6 months ago (2014-05-29 20:33:32 UTC) #6
leviw_travelin_and_unemployed
lgtm with nits and naming https://codereview.chromium.org/301843002/diff/250001/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt File LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt (right): https://codereview.chromium.org/301843002/diff/250001/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt#newcode60 LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt:60: (rect 0.00 0.00 100.00 ...
6 years, 6 months ago (2014-05-29 20:49:00 UTC) #7
chrishtr
https://codereview.chromium.org/301843002/diff/250001/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt File LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt (right): https://codereview.chromium.org/301843002/diff/250001/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt#newcode60 LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt:60: (rect 0.00 0.00 100.00 100.00) On 2014/05/29 20:49:00, leviw ...
6 years, 6 months ago (2014-05-29 21:06:11 UTC) #8
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-05-29 21:06:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/301843002/140010
6 years, 6 months ago (2014-05-29 21:07:21 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 00:59:14 UTC) #11
Message was sent while issue was closed.
Change committed as 175090

Powered by Google App Engine
This is Rietveld 408576698