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

Issue 924213002: cc: Fix DCHECK when impl thread changes scale on a layer being hidden. (Closed)

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

Description

cc: Fix DCHECK when impl thread changes scale on a layer being hidden. If a layer is being hidden (no longer part of the RenderSurfaceLayerList), then we will not UpdateTiles to add tilings to it. If scales change on the active tree, the recycle tree will lose its tilings, then the hidden layer will have 0 tilings on the pending tree. In this case, instead of keeping the non-ideal tilings on the active tree, and having no high-res tiling, drop the non-ideal tilings from the active tree. R=enne, vmpstr BUG=446751 Committed: https://crrev.com/72ab277eeae83cccf8ceddd42398b6bf4f943c69 Cr-Commit-Position: refs/heads/master@{#316368}

Patch Set 1 #

Total comments: 6

Patch Set 2 : crasher: comment #

Patch Set 3 : crasher: removetodo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -1 line) Patch
M cc/resources/picture_layer_tiling_set.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 1 chunk +238 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (8 generated)
danakj
5 years, 10 months ago (2015-02-14 00:27:14 UTC) #1
enne (OOO)
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:31:05 UTC) #2
danakj
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:41:25 UTC) #3
enne (OOO)
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:50:30 UTC) #4
danakj
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:52:20 UTC) #5
enne (OOO)
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:53:14 UTC) #6
danakj
I modified the comment a bit, if that helps? Or maybe I'm missing the question's ...
5 years, 10 months ago (2015-02-14 00:56:13 UTC) #7
danakj
https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc File cc/resources/picture_layer_tiling_set.cc (right): https://codereview.chromium.org/924213002/diff/1/cc/resources/picture_layer_tiling_set.cc#newcode69 cc/resources/picture_layer_tiling_set.cc:69: // If the twin (pending) tiling set is empty, ...
5 years, 10 months ago (2015-02-14 00:57:38 UTC) #9
enne (OOO)
Oh, sorry, I missed the context where this was happening during activation. In that case, ...
5 years, 10 months ago (2015-02-14 01:00:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924213002/40001
5 years, 10 months ago (2015-02-14 01:02:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924213002/60001
5 years, 10 months ago (2015-02-14 01:07:37 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/24025) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-14 01:11:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924213002/80001
5 years, 10 months ago (2015-02-14 01:38:21 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 10 months ago (2015-02-14 03:08:15 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-14 03:08:59 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/72ab277eeae83cccf8ceddd42398b6bf4f943c69
Cr-Commit-Position: refs/heads/master@{#316368}

Powered by Google App Engine
This is Rietveld 408576698