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

Issue 1425593007: Separate display item clients for negative and normal/positive z-order children (Closed)

Created:
5 years, 1 month ago by Xianzhu
Modified:
5 years, 1 month ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate display item clients for negative and normal/positive z-order children Previously we have two subsequence types for negative z-order children and normal/positive z-order children. Their cacheable status are set separately, but our display item cache control is DisplayItemClient based, causing errors when we skip cache for one type of children, but not another. Separate display item clients for the two types of children, so that we can correctly control their cacheable status. BUG=410097, 536999

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Struct DisplayItemClient #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -244 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineBox.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp View 4 chunks +10 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 chunk +5 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp View 7 chunks +93 lines, -84 lines 0 comments Download
M third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/DragImage.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h View 1 2 8 chunks +22 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp View 3 chunks +3 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h View 1 2 3 chunks +37 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifactToSkCanvasTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp View 1 2 6 chunks +44 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h View 1 chunk +7 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/SubsequenceRecorder.cpp View 6 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/PageOverlay.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFontImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
Xianzhu
This CL is tentative for now and I would like to hear your opinions. Some ...
5 years, 1 month ago (2015-11-04 22:06:06 UTC) #2
Xianzhu
Can we avoid two subsequences for negative and normal/positive z-order children (back to outputting subsequences ...
5 years, 1 month ago (2015-11-04 22:10:57 UTC) #3
chrishtr
On 2015/11/04 at 22:10:57, wangxianzhu wrote: > Can we avoid two subsequences for negative and ...
5 years, 1 month ago (2015-11-04 22:38:30 UTC) #5
Xianzhu
On 2015/11/04 22:38:30, chrishtr wrote: > On 2015/11/04 at 22:10:57, wangxianzhu wrote: > > Can ...
5 years, 1 month ago (2015-11-04 23:03:47 UTC) #6
chrishtr
On 2015/11/04 at 23:03:47, wangxianzhu wrote: > On 2015/11/04 22:38:30, chrishtr wrote: > > On ...
5 years, 1 month ago (2015-11-04 23:31:46 UTC) #7
chrishtr
https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode619 third_party/WebKit/Source/core/paint/PaintLayer.h:619: DisplayItemClientWrapper displayItemClientForNegativeZOrderChildren() const Don't inline these. https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h File third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h ...
5 years, 1 month ago (2015-11-04 23:37:11 UTC) #8
Xianzhu
On 2015/11/04 23:31:46, chrishtr wrote: > On 2015/11/04 at 23:03:47, wangxianzhu wrote: > > On ...
5 years, 1 month ago (2015-11-05 00:02:43 UTC) #9
Xianzhu
https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h File third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h (right): https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h#newcode24 third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h:24: return reinterpret_cast<DisplayItemClient>(reinterpret_cast<const char*>(object) + subClientId); On 2015/11/04 23:37:11, chrishtr ...
5 years, 1 month ago (2015-11-05 00:30:28 UTC) #10
chrishtr
On 2015/11/05 at 00:30:28, wangxianzhu wrote: > https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h > File third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h (right): > > https://codereview.chromium.org/1425593007/diff/20001/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h#newcode24 ...
5 years, 1 month ago (2015-11-05 00:41:19 UTC) #11
chrishtr
On 2015/11/05 at 00:02:43, wangxianzhu wrote: > On 2015/11/04 23:31:46, chrishtr wrote: > > On ...
5 years, 1 month ago (2015-11-05 01:12:04 UTC) #12
Xianzhu
On 2015/11/05 00:41:19, chrishtr wrote: > On 2015/11/05 at 00:30:28, wangxianzhu wrote: > > > ...
5 years, 1 month ago (2015-11-05 01:19:06 UTC) #13
Xianzhu
On 2015/11/05 01:19:06, Xianzhu wrote: > On 2015/11/05 00:41:19, chrishtr wrote: > > On 2015/11/05 ...
5 years, 1 month ago (2015-11-05 01:20:29 UTC) #14
Xianzhu
5 years, 1 month ago (2015-11-05 18:26:26 UTC) #15
Discussed with pdr@ and we decided to take the simplest way: output subsequence
on layer first. We can rethink this when the requirements on subsequences get
clearer during the development of paint property trees.

Powered by Google App Engine
This is Rietveld 408576698