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

Issue 2330863003: Switch to null root property tree nodes [spv2] (Closed)

Created:
4 years, 3 months ago by pdr.
Modified:
4 years, 3 months ago
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch to null root property tree nodes [spv2] Slimming paint v2's property trees initially had a no-op root node for each tree. Supporting this approach is difficult for trees such as the scroll tree which would require a non-scrolling scroll node for the root. This patch removes the root property tree nodes from both the default and root-layer-scrolls codepaths, replacing the no-op root nodes with nullptr. Primary changes in this patch: * PaintPropertyTreeBuilder::buildTreeRootNodes has been removed * FrameView's root nodes have been removed (non-RLS) * PaintPropertyTreeBuilder no longer builds LayoutView root nodes (RLS) * Tests updated to reflect new property tree structure. BUG=645615 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Patch Set 2 : Support null effect nodes in the paint artifact compositor #

Patch Set 3 : Update ObjectPaintProperties comment and add a README.md section about the null issue #

Patch Set 4 : Rebase from space #

Messages

Total messages: 25 (11 generated)
pdr.
4 years, 3 months ago (2016-09-12 17:01:47 UTC) #11
jbroman
My main objection to this is how do you distinguish between "no node specified" and ...
4 years, 3 months ago (2016-09-12 17:20:09 UTC) #13
szager1
Hallelujah, amen, lgtm. On 2016/09/12 17:20:09, jbroman wrote: > My main objection to this is ...
4 years, 3 months ago (2016-09-12 17:41:51 UTC) #14
pdr.
On 2016/09/12 at 17:41:51, szager wrote: > Hallelujah, amen, lgtm. > > On 2016/09/12 17:20:09, ...
4 years, 3 months ago (2016-09-12 19:55:56 UTC) #15
chrishtr
On 2016/09/12 at 19:55:56, pdr wrote: > On 2016/09/12 at 17:41:51, szager wrote: > > ...
4 years, 3 months ago (2016-09-12 20:03:31 UTC) #16
jbroman
On 2016/09/12 at 20:03:31, chrishtr wrote: > On 2016/09/12 at 19:55:56, pdr wrote: > > ...
4 years, 3 months ago (2016-09-12 20:18:38 UTC) #17
pdr.
On 2016/09/12 at 20:18:38, jbroman wrote: > On 2016/09/12 at 20:03:31, chrishtr wrote: > > ...
4 years, 3 months ago (2016-09-12 21:24:24 UTC) #18
trchen
On 2016/09/12 21:24:24, pdr. wrote: > On 2016/09/12 at 20:18:38, jbroman wrote: > > On ...
4 years, 3 months ago (2016-09-14 16:21:27 UTC) #19
szager1
On 2016/09/14 16:21:27, trchen wrote: > > I think the real question is whether having ...
4 years, 3 months ago (2016-09-14 16:42:52 UTC) #20
chrishtr
On 2016/09/14 at 16:42:52, szager wrote: > On 2016/09/14 16:21:27, trchen wrote: > > > ...
4 years, 3 months ago (2016-09-14 16:58:20 UTC) #21
pdr.
On 2016/09/14 at 16:21:27, trchen wrote: > On 2016/09/12 21:24:24, pdr. wrote: > > On ...
4 years, 3 months ago (2016-09-14 23:50:56 UTC) #22
trchen
On 2016/09/14 23:50:56, pdr. wrote: > On 2016/09/14 at 16:21:27, trchen wrote: > > On ...
4 years, 3 months ago (2016-09-15 02:32:01 UTC) #23
pdr.
Sorry about the slow reply, got pulled into unblocking the M53 release. This review may ...
4 years, 3 months ago (2016-09-16 22:11:11 UTC) #24
pdr.
4 years, 3 months ago (2016-09-22 06:42:19 UTC) #25
Jbroman pointed out that we can use static refptrs after all so I'm going to
pursue the static root node approach.

First patch is out for review: https://codereview.chromium.org/2359063002

Powered by Google App Engine
This is Rietveld 408576698