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

Issue 690063002: cc: Do not ignore layers without valid priorities during eviction. (Closed)

Created:
6 years, 1 month ago by USE eero AT chromium.org
Modified:
6 years, 1 month ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Do not ignore layers without valid priorities during eviction. This is achieved by moving eviction priority validity checking from layer tree host impl to tiling eviction tile iterators. Committed: https://crrev.com/85c0bffeb20b8b0d97bcfc093848b3215e3be4ee Cr-Commit-Position: refs/heads/master@{#303880}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Less knowledge passing #

Total comments: 4

Patch Set 3 : Unit test #

Total comments: 4

Patch Set 4 : More robust #

Total comments: 1

Patch Set 5 : Fix nullptr dereference #

Patch Set 6 : Rebase: CreateWith{Pile => RasterSource} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -22 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 2 chunks +12 lines, -5 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 3 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 4 chunks +10 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (8 generated)
USE eero AT chromium.org
PTAL. This is the first part of https://codereview.chromium.org/674103004/
6 years, 1 month ago (2014-10-30 17:52:17 UTC) #2
vmpstr
Can you add a test that demonstrates the problem? Something like a layer which layer ...
6 years, 1 month ago (2014-10-31 15:35:49 UTC) #3
USE eero AT chromium.org
https://codereview.chromium.org/690063002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/690063002/diff/1/cc/layers/picture_layer_impl.cc#newcode1588 cc/layers/picture_layer_impl.cc:1588: const PictureLayerImpl* twin_layer, On 2014/10/31 15:35:49, vmpstr wrote: > ...
6 years, 1 month ago (2014-11-04 17:47:57 UTC) #4
USE eero AT chromium.org
On 2014/10/31 15:35:49, vmpstr wrote: > Can you add a test that demonstrates the problem? ...
6 years, 1 month ago (2014-11-04 17:49:10 UTC) #5
vmpstr
This is looking very good. Let's just make that test and I think this is ...
6 years, 1 month ago (2014-11-04 18:15:16 UTC) #6
USE eero AT chromium.org
https://codereview.chromium.org/690063002/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/690063002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode1292 cc/trees/layer_tree_host_impl.cc:1292: DCHECK(!twin_layer || twin_layer->GetTree() == PENDING_TREE); On 2014/11/04 18:15:16, vmpstr ...
6 years, 1 month ago (2014-11-06 15:23:07 UTC) #7
USE eero AT chromium.org
On 2014/11/04 18:15:16, vmpstr wrote: > This is looking very good. Let's just make that ...
6 years, 1 month ago (2014-11-06 15:26:13 UTC) #8
vmpstr
Thanks for the test, that's exactly what I was looking for. https://codereview.chromium.org/690063002/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): ...
6 years, 1 month ago (2014-11-08 00:18:43 UTC) #9
USE eero AT chromium.org
PTAL https://codereview.chromium.org/690063002/diff/40001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/690063002/diff/40001/cc/layers/picture_layer_impl.cc#newcode1601 cc/layers/picture_layer_impl.cc:1601: // that layers that don't have valid tile ...
6 years, 1 month ago (2014-11-10 09:53:08 UTC) #10
vmpstr
lgtm, thanks
6 years, 1 month ago (2014-11-10 17:33:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690063002/60001
6 years, 1 month ago (2014-11-11 09:14:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/68316)
6 years, 1 month ago (2014-11-11 10:11:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690063002/60001
6 years, 1 month ago (2014-11-11 16:27:16 UTC) #17
USE eero AT chromium.org
https://codereview.chromium.org/690063002/diff/60001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/690063002/diff/60001/cc/layers/picture_layer_impl.cc#newcode1599 cc/layers/picture_layer_impl.cc:1599: current_tiling_(CurrentTilingRange().start - 1u) { CurrentTilingRange must not be called ...
6 years, 1 month ago (2014-11-11 17:12:50 UTC) #19
USE eero AT chromium.org
Do I need a new approval? With the previous patch set, some browser tests crashed, ...
6 years, 1 month ago (2014-11-12 11:05:30 UTC) #20
vmpstr
On 2014/11/12 11:05:30, e_hakkinen wrote: > Do I need a new approval? > > With ...
6 years, 1 month ago (2014-11-12 17:46:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690063002/80001
6 years, 1 month ago (2014-11-12 17:47:39 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/16598)
6 years, 1 month ago (2014-11-12 17:54:16 UTC) #25
vmpstr
On 2014/11/12 17:54:16, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 1 month ago (2014-11-12 18:09:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690063002/100001
6 years, 1 month ago (2014-11-12 18:45:18 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-12 20:02:40 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 20:03:22 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/85c0bffeb20b8b0d97bcfc093848b3215e3be4ee
Cr-Commit-Position: refs/heads/master@{#303880}

Powered by Google App Engine
This is Rietveld 408576698