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

Issue 493543002: cc: Report only on active tiles in tracing. (Closed)

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

Description

cc: Report only on active tiles in tracing. This patch changes which tiles we report on. Previously, we logged all of the available tiles. Now, we only log tiles that are active. That is, only tiles that are on either active or pending trees are logged. The way this is done is as follows: - Walk the tree, layers, tilings - Insert all tiles from a tiling into a set - Stuff those into a trace. BUG=403094 Committed: https://crrev.com/d7de03c45e06e104e3ba022e240f7bc88315e753 Cr-Commit-Position: refs/heads/master@{#292183}

Patch Set 1 #

Total comments: 5

Patch Set 2 : update #

Patch Set 3 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -13 lines) Patch
M cc/layers/layer_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +18 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vmpstr
Please take a look.
6 years, 4 months ago (2014-08-19 23:06:42 UTC) #1
nduca
lgtm with nit https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_impl.h File cc/trees/layer_tree_impl.h (right): https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_impl.h#newcode116 cc/trees/layer_tree_impl.h:116: void AllTilesForTracingInto(std::set<const Tile*>* tiles) const; Should ...
6 years, 4 months ago (2014-08-20 01:05:17 UTC) #2
enne (OOO)
https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode3230 cc/trees/layer_tree_host_impl.cc:3230: tile_manager_->AllTilesAsValueInto(state, tiles); Something seems redundant here. Why do you ...
6 years, 4 months ago (2014-08-20 17:37:34 UTC) #3
vmpstr
https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode3230 cc/trees/layer_tree_host_impl.cc:3230: tile_manager_->AllTilesAsValueInto(state, tiles); On 2014/08/20 17:37:34, enne wrote: > Something ...
6 years, 4 months ago (2014-08-20 17:41:11 UTC) #4
enne (OOO)
https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode3230 cc/trees/layer_tree_host_impl.cc:3230: tile_manager_->AllTilesAsValueInto(state, tiles); On 2014/08/20 17:41:11, vmpstr wrote: > On ...
6 years, 4 months ago (2014-08-20 18:05:43 UTC) #5
vmpstr
https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/493543002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode3230 cc/trees/layer_tree_host_impl.cc:3230: tile_manager_->AllTilesAsValueInto(state, tiles); On 2014/08/20 18:05:42, enne wrote: > On ...
6 years, 4 months ago (2014-08-20 18:18:58 UTC) #6
nduca
lets just remove recycle tiles from the allTilesdump but update field names accordingly --- liveTiles ...
6 years, 4 months ago (2014-08-20 20:56:07 UTC) #7
vmpstr
On 2014/08/20 20:56:07, nduca wrote: > lets just remove recycle tiles from the allTilesdump but ...
6 years, 4 months ago (2014-08-25 18:36:24 UTC) #8
vmpstr
PTAL. This depends on https://codereview.appspot.com/132210043/, I'll include it in deps once I know what the ...
6 years, 3 months ago (2014-08-26 21:39:37 UTC) #9
vmpstr
On 2014/08/26 21:39:37, vmpstr wrote: > PTAL. > > This depends on https://codereview.appspot.com/132210043/, I'll include ...
6 years, 3 months ago (2014-08-26 21:55:55 UTC) #10
nduca
lgtm
6 years, 3 months ago (2014-08-27 15:59:55 UTC) #11
enne (OOO)
lgtm
6 years, 3 months ago (2014-08-27 16:52:58 UTC) #12
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 3 months ago (2014-08-27 17:07:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/493543002/40001
6 years, 3 months ago (2014-08-27 17:07:44 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 25c22c6adfafd8616592ea4866047b04913c4655
6 years, 3 months ago (2014-08-27 18:11:11 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:52:42 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d7de03c45e06e104e3ba022e240f7bc88315e753
Cr-Commit-Position: refs/heads/master@{#292183}

Powered by Google App Engine
This is Rietveld 408576698