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

Issue 1397583002: Implement the framework for a paint property hierarchy (Closed)

Created:
5 years, 2 months ago by pdr.
Modified:
5 years, 2 months ago
Reviewers:
chrishtr, jbroman, trchen
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the framework for a paint property hierarchy This patch implements the framework for generating paint property trees in blink. Paint properties represent the transforms, clips, scroll relationships, and effects that a LayoutObject produces, and these properties are used to create PaintChunks which are potential compositing triggers. The primary document covering this approach is: https://docs.google.com/document/d/12I3JD1-Jmnb59ZHKyntFTSsNUzQhPae8QpCECtZt5zs This patch only adds the first paint property (for transforms) and the plumbing needed to create and update them. BUG=537409 Committed: https://crrev.com/0e2df426e5110e0f94766d19bd33d3a732a0c1fb Cr-Commit-Position: refs/heads/master@{#352980}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Mad props to my homie dj chris and his suggestions for comments #

Patch Set 3 : Job insecurity: better tests, better comments, better names. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+318 lines, -66 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/core/paint/ObjectPaintProperties.h View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 3 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItemTransformTree.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunk.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp View 1 2 3 chunks +84 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h View 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPrinters.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPrinters.cpp View 1 2 2 chunks +40 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
pdr.
Ready for review! Per our discussion at the propz meeting today, this is a cannibalization ...
5 years, 2 months ago (2015-10-07 20:17:40 UTC) #2
chrishtr
https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h File third_party/WebKit/Source/core/paint/ObjectPaintProperties.h (right): https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h#newcode19 third_party/WebKit/Source/core/paint/ObjectPaintProperties.h:19: class ObjectPaintProperties { How about getting rid of this ...
5 years, 2 months ago (2015-10-07 20:55:56 UTC) #3
pdr.
On 2015/10/07 at 20:55:56, chrishtr wrote: > https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h > File third_party/WebKit/Source/core/paint/ObjectPaintProperties.h (right): > > https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h#newcode19 ...
5 years, 2 months ago (2015-10-07 20:58:43 UTC) #4
chrishtr
On 2015/10/07 at 20:58:43, pdr wrote: > On 2015/10/07 at 20:55:56, chrishtr wrote: > > ...
5 years, 2 months ago (2015-10-07 21:02:24 UTC) #5
chrishtr
On 2015/10/07 at 21:02:24, chrishtr wrote: > On 2015/10/07 at 20:58:43, pdr wrote: > > ...
5 years, 2 months ago (2015-10-07 21:06:34 UTC) #6
chrishtr
https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp (right): https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp#newcode102 third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp:102: PaintChunk(0, 2, rootPaintProperties()), Make the different transforms have different ...
5 years, 2 months ago (2015-10-07 21:14:28 UTC) #7
pdr.
https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp (right): https://codereview.chromium.org/1397583002/diff/1/third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp#newcode102 third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp:102: PaintChunk(0, 2, rootPaintProperties()), On 2015/10/07 at 21:14:28, chrishtr wrote: ...
5 years, 2 months ago (2015-10-07 22:15:59 UTC) #8
pdr.
Oops, missed one test which was only noticeable after uploading and looking silly.
5 years, 2 months ago (2015-10-07 22:17:23 UTC) #9
chrishtr
lgtm
5 years, 2 months ago (2015-10-07 22:18:05 UTC) #10
pdr.
On 2015/10/07 at 22:17:23, pdr wrote: > Oops, missed one test which was only noticeable ...
5 years, 2 months ago (2015-10-07 22:18:37 UTC) #11
pdr.
On 2015/10/07 at 22:18:37, pdr wrote: > On 2015/10/07 at 22:17:23, pdr wrote: > > ...
5 years, 2 months ago (2015-10-07 22:19:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397583002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397583002/40001
5 years, 2 months ago (2015-10-07 22:21:45 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-07 23:57:34 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 23:58:16 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0e2df426e5110e0f94766d19bd33d3a732a0c1fb
Cr-Commit-Position: refs/heads/master@{#352980}

Powered by Google App Engine
This is Rietveld 408576698