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

Issue 334953003: cc: Early out sooner in UpdateTilePriorities when !CanHaveTilings(). (Closed)

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

Description

cc: Early out sooner in UpdateTilePriorities when !CanHaveTilings(). Also, when we cleanup tilings on the active twin, we use the pending twin's ideal contents scale. But when the twin !CanHavTilings() there is no need to use that ideal scale and save tilings. R=enne@chromium.org, enne Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278219 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278413

Patch Set 1 #

Patch Set 2 : canhavetilings: masks #

Patch Set 3 : canhavetilings: masks2 #

Total comments: 2

Patch Set 4 : canhavetilings: dcheck #

Patch Set 5 : canhavetilings: fixcctests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -75 lines) Patch
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 4 chunks +19 lines, -17 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +0 lines, -56 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
danakj
Did this while trying to understand https://code.google.com/p/chromium/issues/detail?id=384730. I don't think this fixes anything but makes ...
6 years, 6 months ago (2014-06-18 17:35:50 UTC) #1
danakj
Oh.. fun, this breaks a mask test, where we expect the mask layer to get ...
6 years, 6 months ago (2014-06-18 17:40:40 UTC) #2
danakj
Fixed the mask test!
6 years, 6 months ago (2014-06-18 18:19:20 UTC) #3
enne (OOO)
https://codereview.chromium.org/334953003/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (left): https://codereview.chromium.org/334953003/diff/40001/cc/layers/picture_layer_impl.cc#oldcode1291 cc/layers/picture_layer_impl.cc:1291: if (!CanHaveTilings()) { I kind of liked this code ...
6 years, 6 months ago (2014-06-18 23:08:02 UTC) #4
danakj
https://codereview.chromium.org/334953003/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (left): https://codereview.chromium.org/334953003/diff/40001/cc/layers/picture_layer_impl.cc#oldcode1291 cc/layers/picture_layer_impl.cc:1291: if (!CanHaveTilings()) { On 2014/06/18 23:08:02, enne wrote: > ...
6 years, 6 months ago (2014-06-19 01:03:52 UTC) #5
enne (OOO)
I'd be ok with leaving it, but then DCHECK CanHaveTilings so this assumption is more ...
6 years, 6 months ago (2014-06-19 01:05:22 UTC) #6
danakj
ok sure! On Wed, Jun 18, 2014 at 6:05 PM, <enne@chromium.org> wrote: > I'd be ...
6 years, 6 months ago (2014-06-19 01:06:44 UTC) #7
danakj
Done, PTAL
6 years, 6 months ago (2014-06-19 01:07:36 UTC) #8
enne (OOO)
Thanks, lgtm
6 years, 6 months ago (2014-06-19 01:15:43 UTC) #9
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-19 01:16:14 UTC) #10
danakj
Committed patchset #4 manually as r278219 (presubmit successful).
6 years, 6 months ago (2014-06-19 01:17:28 UTC) #11
jackhou1
A revert of this CL has been created in https://codereview.chromium.org/348523005/ by jackhou@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-19 03:59:31 UTC) #12
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-19 15:31:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/334953003/80001
6 years, 6 months ago (2014-06-19 15:32:45 UTC) #14
danakj
6 years, 6 months ago (2014-06-19 17:52:31 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r278413 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698