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

Issue 1841083004: cc: Indicate that we've updated a tiling if we invalidated it. (Closed)

Created:
4 years, 8 months ago by vmpstr
Modified:
4 years, 8 months ago
Reviewers:
danakj, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, sunnyps, tdanderson, varkha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Indicate that we've updated a tiling if we invalidated it. This patch ensures that we inform the caller that the tiling was updated if it was invalidated since the last call to ComputeTilePriorityRects. This ensures that we don't bypass TileManager::PrepareTiles call. R=danakj, enne BUG=593449 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/6ee1182bdabeb7da02485c30b7f9f7142eef25c1 Cr-Commit-Position: refs/heads/master@{#385020}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : comment #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
M cc/tiles/picture_layer_tiling.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/picture_layer_tiling.cc View 3 chunks +6 lines, -2 lines 0 comments Download
M cc/tiles/picture_layer_tiling_unittest.cc View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
vmpstr
Please take a look. I'll add a test if it looks OK.
4 years, 8 months ago (2016-03-30 22:50:10 UTC) #2
varkha
With this change done locally I couldn't repro the flicker anymore on a chromeos=1 build ...
4 years, 8 months ago (2016-03-31 19:39:04 UTC) #4
enne (OOO)
I think it's good to be robust to this if this is the only complication ...
4 years, 8 months ago (2016-03-31 19:46:43 UTC) #5
varkha
Does this look promising enough to get in M-50? It would be good to unblock ...
4 years, 8 months ago (2016-04-01 20:00:06 UTC) #6
vmpstr
Added a unittest here. After talking to sunnyps@ on Friday, I went back to this ...
4 years, 8 months ago (2016-04-04 18:36:16 UTC) #8
enne (OOO)
Thanks for all the explanation. I think we should just be robust to this and ...
4 years, 8 months ago (2016-04-04 18:43:51 UTC) #10
vmpstr
PTAL https://codereview.chromium.org/1841083004/diff/20001/cc/tiles/picture_layer_tiling_unittest.cc File cc/tiles/picture_layer_tiling_unittest.cc (right): https://codereview.chromium.org/1841083004/diff/20001/cc/tiles/picture_layer_tiling_unittest.cc#newcode1787 cc/tiles/picture_layer_tiling_unittest.cc:1787: TEST(PictureLayerTilingTest, InvalidateAfterComputeTilePriorityRects) { On 2016/04/04 18:43:51, enne wrote: ...
4 years, 8 months ago (2016-04-04 19:45:30 UTC) #11
enne (OOO)
Thanks, lgtm!
4 years, 8 months ago (2016-04-04 19:48:03 UTC) #12
danakj
ok LGTM, thanks for investigating this thoroughly.
4 years, 8 months ago (2016-04-04 20:40:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841083004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841083004/60001
4 years, 8 months ago (2016-04-04 20:41:45 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-04 21:52:39 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 21:53:59 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6ee1182bdabeb7da02485c30b7f9f7142eef25c1
Cr-Commit-Position: refs/heads/master@{#385020}

Powered by Google App Engine
This is Rietveld 408576698