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

Issue 1313223002: Simplify subtree (now subsequence) caching (Closed)

Created:
5 years, 3 months ago by Xianzhu
Modified:
5 years, 3 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Simplify subtree (now subsequence) caching We no longer need paint-phase-based subtree display items because we'll use paint layers as units of subtrees. This greatly simplifies subtree caching. Renamed subtree to subsequence. BUG=410087 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201282

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address chrishtr@'s comments #

Patch Set 3 : Subtree => Subsequence #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -282 lines) Patch
M Source/core/paint/BlockPainter.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M Source/core/paint/DisplayItemListPaintTest.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 1 2 3 chunks +7 lines, -28 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.cpp View 1 2 2 chunks +4 lines, -7 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.cpp View 1 4 chunks +24 lines, -28 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemListTest.cpp View 1 5 chunks +122 lines, -60 lines 0 comments Download
A Source/platform/graphics/paint/SubsequenceDisplayItem.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/SubsequenceRecorder.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A Source/platform/graphics/paint/SubsequenceRecorder.cpp View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
M Source/platform/graphics/paint/SubtreeDisplayItem.h View 1 1 chunk +0 lines, -38 lines 0 comments Download
M Source/platform/graphics/paint/SubtreeRecorder.h View 1 1 chunk +0 lines, -37 lines 0 comments Download
M Source/platform/graphics/paint/SubtreeRecorder.cpp View 1 1 chunk +0 lines, -58 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (3 generated)
Xianzhu
5 years, 3 months ago (2015-08-25 22:40:44 UTC) #2
chrishtr
https://codereview.chromium.org/1313223002/diff/1/Source/platform/graphics/paint/DisplayItem.h File Source/platform/graphics/paint/DisplayItem.h (right): https://codereview.chromium.org/1313223002/diff/1/Source/platform/graphics/paint/DisplayItem.h#newcode170 Source/platform/graphics/paint/DisplayItem.h:170: CachedSubtree, How about CachedStackingContext or some other more precise ...
5 years, 3 months ago (2015-08-25 23:48:19 UTC) #3
chrishtr
Also, have you tried implementingng the business logic for stacking context DPLs to see if ...
5 years, 3 months ago (2015-08-25 23:48:50 UTC) #4
Xianzhu
On 2015/08/25 23:48:50, chrishtr wrote: > Also, have you tried implementingng the business logic for ...
5 years, 3 months ago (2015-08-26 16:47:38 UTC) #5
Xianzhu
Tried subsequence caching with painting with several websites and it seems working well. Didn't run ...
5 years, 3 months ago (2015-08-26 23:21:06 UTC) #7
chrishtr
https://codereview.chromium.org/1313223002/diff/50015/Source/platform/graphics/paint/SubsequenceRecorder.cpp File Source/platform/graphics/paint/SubsequenceRecorder.cpp (right): https://codereview.chromium.org/1313223002/diff/50015/Source/platform/graphics/paint/SubsequenceRecorder.cpp#newcode18 Source/platform/graphics/paint/SubsequenceRecorder.cpp:18: // The conditions of returning false is not complete ...
5 years, 3 months ago (2015-08-26 23:34:23 UTC) #8
Xianzhu
https://codereview.chromium.org/1313223002/diff/50015/Source/platform/graphics/paint/SubsequenceRecorder.cpp File Source/platform/graphics/paint/SubsequenceRecorder.cpp (right): https://codereview.chromium.org/1313223002/diff/50015/Source/platform/graphics/paint/SubsequenceRecorder.cpp#newcode18 Source/platform/graphics/paint/SubsequenceRecorder.cpp:18: // The conditions of returning false is not complete ...
5 years, 3 months ago (2015-08-26 23:42:36 UTC) #9
chrishtr
lgtm
5 years, 3 months ago (2015-08-27 00:03:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313223002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313223002/70001
5 years, 3 months ago (2015-08-27 00:03:47 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 03:03:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:70001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201282

Powered by Google App Engine
This is Rietveld 408576698