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

Issue 1844993002: Re-land: Make GraphicsLayer the DisplayItemClient for scrollbars composited via PaintLayerComposito… (Closed)

Created:
4 years, 8 months ago by wkorman
Modified:
4 years, 8 months ago
Reviewers:
chrishtr, f(malita)
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land: Make GraphicsLayer the DisplayItemClient for scrollbars composited via PaintLayerCompositor. Updated to deal gracefully with potentially null picture recording in performance testing. Original change description: Currently, the DisplayItemClient is LayoutScrollbarPart. This has two problems: the mapping between the LayoutScrollbarPart and its backing is hard to reverse-engineer given the way the scrollbar code is set up (LayoutScrollbarPart vs Scrollbar vs ScrollableArea), and the fact that LayoutScrollbarPart can be painted in both non-composited and composited modes. This distinction is important for computation of correct visual rects. This can be cleaned up by replaying the painted scrollbar content with the GraphicsLayer backing as the DisplayItemClient, which has the correct visualRect() (i.e. bounds of GraphicsLayer). BUG=529938 Committed: https://crrev.com/8460ef8fc6125185abc1486eb61b0ca7fc9298ad Cr-Commit-Position: refs/heads/master@{#382778} patch from issue 1825193002 at patchset 100001 (http://crrev.com/1825193002#ps100001) TBR=chrishtr Committed: https://crrev.com/7bd3f083b468f3ae88ac48ca9cdbaa918d148cbb Cr-Commit-Position: refs/heads/master@{#384070}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -11 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 4 chunks +36 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
wkorman
Follow-up to http://crrev.com/1841833002. Will conflict with merge of fmalita@ http://crrev.com/1849433002. If this lands first, fmalita@ ...
4 years, 8 months ago (2016-03-30 18:19:01 UTC) #2
wkorman
It's a two-line fix to the fmalita@ change in flight, and this is a re-land, ...
4 years, 8 months ago (2016-03-30 18:34:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844993002/1
4 years, 8 months ago (2016-03-30 18:36:05 UTC) #8
f(malita)
lgtm
4 years, 8 months ago (2016-03-30 18:37:49 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-03-30 20:09:03 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 20:11:17 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7bd3f083b468f3ae88ac48ca9cdbaa918d148cbb
Cr-Commit-Position: refs/heads/master@{#384070}

Powered by Google App Engine
This is Rietveld 408576698