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

Issue 2185933003: Fix issues of display item client cache flags (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-paint_chromium.org, 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, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix issues of display item client cache flags - Clear just created flag if the client is used in any display item or chunk. Don't set a chunk client to validly cached status because it doesn't have any validly cached display item (otherwise it should have been marked validly cached in the m_newADisplayItemList loop. - Invalidate the client if it has any display items skipped cache. Committed: https://crrev.com/080b866a4608e16edf4df4efefc023cbeebc90ca Cr-Commit-Position: refs/heads/master@{#408251}

Patch Set 1 #

Patch Set 2 : Fix issues of display item client cache flags #

Total comments: 4

Patch Set 3 : Tests #

Total comments: 2

Patch Set 4 : Tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -4 lines) Patch
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp View 1 2 2 chunks +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 2 chunks +16 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Xianzhu
How about this CL that also fixes the skipping-cache issue?
4 years, 4 months ago (2016-07-27 19:01:05 UTC) #4
chrishtr
Looking good. https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp File third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp (right): https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp#newcode70 third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp:70: "<div id='div' style='width: 200px; height: 200px; opacity: ...
4 years, 4 months ago (2016-07-27 19:18:34 UTC) #7
Xianzhu
https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp File third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp (right): https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp#newcode70 third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp:70: "<div id='div' style='width: 200px; height: 200px; opacity: 0.5'>" On ...
4 years, 4 months ago (2016-07-27 19:25:55 UTC) #8
chrishtr
https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp File third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp (right): https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp#newcode70 third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp:70: "<div id='div' style='width: 200px; height: 200px; opacity: 0.5'>" On ...
4 years, 4 months ago (2016-07-27 19:28:25 UTC) #9
Xianzhu
https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp File third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp (right): https://codereview.chromium.org/2185933003/diff/20001/third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp#newcode70 third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp:70: "<div id='div' style='width: 200px; height: 200px; opacity: 0.5'>" On ...
4 years, 4 months ago (2016-07-27 19:43:39 UTC) #10
chrishtr
lgtm https://codereview.chromium.org/2185933003/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp (right): https://codereview.chromium.org/2185933003/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp#newcode858 third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp:858: EXPECT_FALSE(getPaintController().clientCacheIsValid(content)); Add a comment that it's not valid ...
4 years, 4 months ago (2016-07-27 20:14:57 UTC) #11
Xianzhu
https://codereview.chromium.org/2185933003/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp (right): https://codereview.chromium.org/2185933003/diff/40001/third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp#newcode858 third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp:858: EXPECT_FALSE(getPaintController().clientCacheIsValid(content)); On 2016/07/27 20:14:57, chrishtr wrote: > Add a ...
4 years, 4 months ago (2016-07-27 20:40:34 UTC) #12
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/2185933003/60001
4 years, 4 months ago (2016-07-27 20:40:53 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-27 22:04:57 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 22:06:09 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/080b866a4608e16edf4df4efefc023cbeebc90ca
Cr-Commit-Position: refs/heads/master@{#408251}

Powered by Google App Engine
This is Rietveld 408576698