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

Issue 2334403002: Construct cc scroll tree from blink [spv2] (Closed)

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

Description

Construct cc scroll tree from blink [spv2] This patch updates PaintArtifactCompositor to create cc's scroll tree from blink's scroll tree. PropertyTreeManager::updateScrollOffset is an interesting part of this patch and is where we resolve the differences between cc's trees and blink's trees. For example, cc's transform node currently stores scroll offset in a separate vector, and cc's scroll tree maintains a separate map of scroll offsets for handling synchronization. A followup patch will add main thread scrolling reasons. Until then, a couple simple tests have been added verifying the cc scroll tree structure. The existing layout tests currently exercise the new scroll tree code end-to-end. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel BUG=644514 Committed: https://crrev.com/a82582195998dc7862dbdac6209965b7d51840da Cr-Commit-Position: refs/heads/master@{#418650}

Patch Set 1 #

Patch Set 2 : Fix bug where layers were offset twice #

Patch Set 3 : Formatting cleanup #

Patch Set 4 : Fix horizontal scroll direction #

Total comments: 1

Patch Set 5 : Better comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -4 lines) Patch
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 4 10 chunks +67 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 3 2 chunks +77 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
pdr.
4 years, 3 months ago (2016-09-14 00:26:40 UTC) #3
ajuma
lgtm
4 years, 3 months ago (2016-09-14 14:37:44 UTC) #4
chrishtr
lgtm https://codereview.chromium.org/2334403002/diff/60001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (right): https://codereview.chromium.org/2334403002/diff/60001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#newcode146 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:146: constexpr int kRealRootNodeId = 0; Please add comments ...
4 years, 3 months ago (2016-09-14 17:23:46 UTC) #5
pdr.
Thanks! In we go. On 2016/09/14 at 17:23:46, chrishtr wrote: > lgtm > > https://codereview.chromium.org/2334403002/diff/60001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp ...
4 years, 3 months ago (2016-09-14 17:37:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2334403002/80001
4 years, 3 months ago (2016-09-14 17:37:41 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-14 20:11:04 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 20:14:26 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a82582195998dc7862dbdac6209965b7d51840da
Cr-Commit-Position: refs/heads/master@{#418650}

Powered by Google App Engine
This is Rietveld 408576698