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

Issue 2184363002: Handle removed display items in under-invalidation checking in cached subsequences (Closed)

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

Description

Handle removed display items in under-invalidation checking in cached subsequences When we see a mismatched display item when checking under-invalidation in a cached subsequence, if the item might be removed later, we temporarily skip the display item and look forward. - If the item is finally removed, the mismatch will be ignored; - If the item is not removed, report the mismatch as under-invalidation. Also added unit tests for under-invalidation. BUG=619103 Committed: https://crrev.com/0e615407319a0aa91de9166e653ad341e7681033 Cr-Commit-Position: refs/heads/master@{#408569}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Some small tweaks #

Total comments: 6

Patch Set 4 : - #

Total comments: 10

Patch Set 5 : - #

Patch Set 6 : Fix compilation error: 2 -> 2u #

Patch Set 7 : Make test expectations suitable for both debug and release+dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -61 lines) Patch
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifact.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 1 2 3 4 5 6 6 chunks +49 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp View 1 2 3 4 5 6 34 chunks +329 lines, -39 lines 0 comments Download

Messages

Total messages: 33 (17 generated)
Xianzhu
4 years, 4 months ago (2016-07-28 16:12:06 UTC) #8
chrishtr
https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode555 third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:555: if (!oldAndNewEqual) { Don't you need to reset m_skippedUnderInvalidationCount ...
4 years, 4 months ago (2016-07-28 16:55:37 UTC) #11
Xianzhu
https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode555 third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:555: if (!oldAndNewEqual) { On 2016/07/28 16:55:36, chrishtr wrote: > ...
4 years, 4 months ago (2016-07-28 17:20:48 UTC) #12
chrishtr
https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode555 third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:555: if (!oldAndNewEqual) { On 2016/07/28 at 17:20:48, Xianzhu wrote: ...
4 years, 4 months ago (2016-07-28 17:29:22 UTC) #13
Xianzhu
https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode555 third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:555: if (!oldAndNewEqual) { On 2016/07/28 17:29:21, chrishtr wrote: > ...
4 years, 4 months ago (2016-07-28 17:38:40 UTC) #14
chrishtr
On 2016/07/28 at 17:38:40, wangxianzhu wrote: > https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp > File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): > > https://codereview.chromium.org/2184363002/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode555 ...
4 years, 4 months ago (2016-07-28 18:14:36 UTC) #15
chrishtr
https://codereview.chromium.org/2184363002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp (left): https://codereview.chromium.org/2184363002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp#oldcode908 third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp:908: second.setDisplayItemsUncached(); These few lines you removed were incorrect? https://codereview.chromium.org/2184363002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp ...
4 years, 4 months ago (2016-07-28 18:14:43 UTC) #16
Xianzhu
https://codereview.chromium.org/2184363002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp (left): https://codereview.chromium.org/2184363002/diff/60001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp#oldcode908 third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp:908: second.setDisplayItemsUncached(); On 2016/07/28 18:14:42, chrishtr wrote: > These few ...
4 years, 4 months ago (2016-07-28 18:40:10 UTC) #17
chrishtr
lgtm
4 years, 4 months ago (2016-07-28 18:58:56 UTC) #19
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/2184363002/80001
4 years, 4 months ago (2016-07-28 18:59:22 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/242108)
4 years, 4 months ago (2016-07-28 19:36:12 UTC) #22
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/2184363002/100001
4 years, 4 months ago (2016-07-29 00:15:48 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/271085)
4 years, 4 months ago (2016-07-29 01:30:13 UTC) #27
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/2184363002/120001
4 years, 4 months ago (2016-07-29 02:20:56 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-07-29 03:29:22 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 03:31:40 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0e615407319a0aa91de9166e653ad341e7681033
Cr-Commit-Position: refs/heads/master@{#408569}

Powered by Google App Engine
This is Rietveld 408576698