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

Issue 697543002: First implementation of the paint slimming update algorithm (Closed)

Created:
6 years, 1 month ago by pdr.
Modified:
6 years, 1 month ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

First implementation of the paint slimming update algorithm This patch implements the basic paint slimming update algorithm as described in [1]. The basic goal of the paint slimming update is to merge new display items with the existing display items. By tracking invalidations and using the paint order implied by the existing paint list, an updated paint list can be created with a single walk through both lists. [1] https://docs.google.com/a/chromium.org/document/d/1w9vjJSV9Itk9UjhuaOMIIhd_LDYAfHbMepkwV5ZNPUI/edit#heading=h.gcmtb6aof29f Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184821

Patch Set 1 #

Total comments: 5

Patch Set 2 : Update per reviewer comments #

Patch Set 3 : Address reviewer comments #

Total comments: 3

Patch Set 4 : Update per reviewer comments #

Total comments: 1

Patch Set 5 : Address reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -15 lines) Patch
M Source/core/paint/ViewDisplayList.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/paint/ViewDisplayList.cpp View 1 2 3 4 2 chunks +69 lines, -9 lines 0 comments Download
M Source/core/paint/ViewDisplayListTest.cpp View 1 2 3 2 chunks +277 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
pdr.
6 years, 1 month ago (2014-10-31 15:23:04 UTC) #2
leviw_travelin_and_unemployed
This isn't as ugly as you led me to believe! It's exciting! https://codereview.chromium.org/697543002/diff/1/Source/core/paint/ViewDisplayList.cpp File Source/core/paint/ViewDisplayList.cpp ...
6 years, 1 month ago (2014-10-31 19:10:03 UTC) #3
leviw_travelin_and_unemployed
https://codereview.chromium.org/697543002/diff/1/Source/core/paint/ViewDisplayList.cpp File Source/core/paint/ViewDisplayList.cpp (right): https://codereview.chromium.org/697543002/diff/1/Source/core/paint/ViewDisplayList.cpp#newcode62 Source/core/paint/ViewDisplayList.cpp:62: return displayItem.renderer() && m_invalidated.contains(displayItem.renderer()); On 2014/10/31 19:10:02, leviw wrote: ...
6 years, 1 month ago (2014-10-31 20:26:55 UTC) #4
pdr.
https://codereview.chromium.org/697543002/diff/1/Source/core/paint/ViewDisplayList.cpp File Source/core/paint/ViewDisplayList.cpp (right): https://codereview.chromium.org/697543002/diff/1/Source/core/paint/ViewDisplayList.cpp#newcode38 Source/core/paint/ViewDisplayList.cpp:38: PaintList::iterator ViewDisplayList::wasUninvalidatedRepaint(PaintList::iterator begin, const DisplayItem& displayItem) On 2014/10/31 at ...
6 years, 1 month ago (2014-10-31 20:37:56 UTC) #5
chrishtr
https://codereview.chromium.org/697543002/diff/40001/Source/core/paint/ViewDisplayList.cpp File Source/core/paint/ViewDisplayList.cpp (right): https://codereview.chromium.org/697543002/diff/40001/Source/core/paint/ViewDisplayList.cpp#newcode42 Source/core/paint/ViewDisplayList.cpp:42: PaintList::iterator ViewDisplayList::findRepaintWithoutInvalidation(PaintList::iterator begin, const DisplayItem& displayItem) The name findRepaintWithoutInvalidation ...
6 years, 1 month ago (2014-10-31 21:30:12 UTC) #6
pdr.
Thanks for the reviews. PTAL I've updated this and cleaned up the sharp edges, including ...
6 years, 1 month ago (2014-11-01 05:23:23 UTC) #7
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/697543002/diff/60001/Source/core/paint/ViewDisplayList.cpp File Source/core/paint/ViewDisplayList.cpp (right): https://codereview.chromium.org/697543002/diff/60001/Source/core/paint/ViewDisplayList.cpp#newcode59 Source/core/paint/ViewDisplayList.cpp:59: bool ViewDisplayList::wasInvalidated(const DisplayItem& displayItem) const FIXME: should use ...
6 years, 1 month ago (2014-11-03 18:04:53 UTC) #8
pdr.
Thanks for the reviews!
6 years, 1 month ago (2014-11-04 06:11:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/697543002/80001
6 years, 1 month ago (2014-11-04 06:12:09 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 07:15:55 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 184821

Powered by Google App Engine
This is Rietveld 408576698