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

Issue 14883003: cc: Fix impl-side painting flashing due to missing tiles (Closed)

Created:
7 years, 7 months ago by enne (OOO)
Modified:
7 years, 7 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Fix impl-side painting flashing due to missing tiles There was a bug where flashing could occur if a non-updated tiling was used for activation. As tiles only get created during UpdateTilePriorities and null tiles are accepted for activation (under the premise that there is nothing recorded there and tiles couldn't be created), this could cause a premature activation and flashing content. Fix this case by making sure that syncing a tiling always updates that tiling if the tree is up to date and doesn't need update draw properties. Add checks to make sure that all tilings have been updated and the tree itself is up to date when calling AreVisibleResourcesReady. R=danakj@chromium.org BUG=230540 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198219

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleaned up #

Total comments: 1

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -2 lines) Patch
M cc/layers/picture_image_layer_impl_unittest.cc View 3 chunks +8 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
enne (OOO)
7 years, 7 months ago (2013-05-02 23:23:57 UTC) #1
enne (OOO)
https://codereview.chromium.org/14883003/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/14883003/diff/1/cc/layers/picture_layer_impl.cc#newcode381 cc/layers/picture_layer_impl.cc:381: const PictureLayerTiling* tiling, This isn't actually needed. I previously ...
7 years, 7 months ago (2013-05-02 23:25:37 UTC) #2
danakj
LGTM https://codereview.chromium.org/14883003/diff/4001/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/14883003/diff/4001/cc/resources/picture_layer_tiling.cc#newcode304 cc/resources/picture_layer_tiling.cc:304: last_impl_frame_time_in_seconds_ = current_frame_time_in_seconds; Oh, word.
7 years, 7 months ago (2013-05-03 01:11:22 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/14883003/4001
7 years, 7 months ago (2013-05-03 01:11:28 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=110310
7 years, 7 months ago (2013-05-03 07:04:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/14883003/4001
7 years, 7 months ago (2013-05-03 07:16:48 UTC) #6
commit-bot: I haz the power
Failed to apply patch for cc/layers/picture_layer_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-03 07:16:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/14883003/24001
7 years, 7 months ago (2013-05-03 16:28:34 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-03 23:01:11 UTC) #9
Message was sent while issue was closed.
Change committed as 198219

Powered by Google App Engine
This is Rietveld 408576698