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

Issue 1389803002: Skip paint offset caching when DisplayItemList is skipping cache (Closed)

Created:
5 years, 2 months ago by Xianzhu
Modified:
5 years, 2 months ago
Reviewers:
pdr., chrishtr
CC:
asanka, benjhayden+dwatch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@TableCellBackground
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip paint offset caching when DisplayItemList is skipping cache DisplayItemList skips cache when an object may be painted multiple times in different contexts and the object may have multiple paint offsets. Don't cache paint offset when DisplayItemList is skipping cache. No visible behavior change until https://codereview.chromium.org/1387923002/ which enhances checking of problematic paint offset caching. BUG=508383 Committed: https://crrev.com/256b50a90dc439782693f8bc614f69dc295d6b01 Cr-Commit-Position: refs/heads/master@{#352632}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase on origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/InlinePainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorder.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Xianzhu
5 years, 2 months ago (2015-10-06 00:54:58 UTC) #2
pdr.
LGTM with or without my suggestion. https://codereview.chromium.org/1389803002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1389803002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode146 third_party/WebKit/Source/core/paint/BlockPainter.cpp:146: if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && ...
5 years, 2 months ago (2015-10-06 03:10:25 UTC) #3
Xianzhu
https://codereview.chromium.org/1389803002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1389803002/diff/1/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode146 third_party/WebKit/Source/core/paint/BlockPainter.cpp:146: if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && m_layoutBlock.childrenInline() && !paintInfo.context->displayItemList()->skippingCache()) { On 2015/10/06 ...
5 years, 2 months ago (2015-10-06 16:35:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1389803002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1389803002/20001
5 years, 2 months ago (2015-10-06 16:36:28 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-06 17:41:51 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 17:42:59 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/256b50a90dc439782693f8bc614f69dc295d6b01
Cr-Commit-Position: refs/heads/master@{#352632}

Powered by Google App Engine
This is Rietveld 408576698