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

Issue 924973003: CC: Force push properties for all layers when tracing is started (Closed)

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

Description

CC: Force push properties for all layers when tracing is started ... provided categories that cause layer tree snapshots to be traced are enabled. We need this so that we can show owner nodes for layers that were not updated on the main thread side for a while. BUG= Committed: https://crrev.com/4a4b55844b0cff76d33734555fd3267f0da7826e Cr-Commit-Position: refs/heads/master@{#320947}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Introduce Layer::DidBeginTracing(), call SetNeedsPushProperties() from there #

Total comments: 4

Patch Set 3 : review comments addressed #

Total comments: 3

Patch Set 4 : review comments addressed #

Total comments: 3

Patch Set 5 : added root_layer() check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -12 lines) Patch
M cc/debug/frame_viewer_instrumentation.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M cc/debug/frame_viewer_instrumentation.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 chunks +10 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
caseq
We only do this once when tracing is started and only if categories that cause ...
5 years, 10 months ago (2015-02-20 10:21:39 UTC) #3
danakj
https://codereview.chromium.org/924973003/diff/20001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/924973003/diff/20001/cc/trees/layer_tree_host.cc#newcode309 cc/trees/layer_tree_host.cc:309: // push properties for all layers to propagate LayerDebugInfo ...
5 years, 10 months ago (2015-02-20 17:13:18 UTC) #4
caseq
> https://codereview.chromium.org/924973003/diff/20001/cc/trees/layer_tree_host.cc > File cc/trees/layer_tree_host.cc (right): > > https://codereview.chromium.org/924973003/diff/20001/cc/trees/layer_tree_host.cc#newcode309 > cc/trees/layer_tree_host.cc:309: // push properties for ...
5 years, 10 months ago (2015-02-24 15:56:45 UTC) #5
caseq
ping
5 years, 9 months ago (2015-03-03 07:05:40 UTC) #6
danakj
Thanks for the explanations. I do like the DidBeginTracing change and it makes things more ...
5 years, 9 months ago (2015-03-06 18:50:12 UTC) #7
caseq
On 2015/03/06 18:50:12, danakj wrote: > https://codereview.chromium.org/924973003/diff/40001/cc/layers/layer.cc > File cc/layers/layer.cc (right): > > https://codereview.chromium.org/924973003/diff/40001/cc/layers/layer.cc#newcode1353 > ...
5 years, 9 months ago (2015-03-16 18:04:11 UTC) #8
danakj
On 2015/03/16 18:04:11, caseq wrote: > On 2015/03/06 18:50:12, danakj wrote: > > cc/trees/layer_tree_host.cc:313: TRACE_DISABLED_BY_DEFAULT("cc.debug") ...
5 years, 9 months ago (2015-03-16 19:06:49 UTC) #9
caseq
On 2015/03/16 19:06:49, danakj wrote: > On 2015/03/16 18:04:11, caseq wrote: > > On 2015/03/06 ...
5 years, 9 months ago (2015-03-17 12:21:29 UTC) #10
danakj
LGTM https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc#newcode274 cc/trees/layer_tree_host.cc:274: if (is_new_trace && I think you need if ...
5 years, 9 months ago (2015-03-17 17:08:53 UTC) #11
danakj
> BUG= Either point at a bug or just remove this from the patch description ...
5 years, 9 months ago (2015-03-17 17:09:15 UTC) #12
caseq
https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc#newcode274 cc/trees/layer_tree_host.cc:274: if (is_new_trace && On 2015/03/17 17:08:53, danakj wrote: > ...
5 years, 9 months ago (2015-03-17 17:44:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924973003/100001
5 years, 9 months ago (2015-03-17 17:45:48 UTC) #16
danakj
https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/924973003/diff/80001/cc/trees/layer_tree_host.cc#newcode274 cc/trees/layer_tree_host.cc:274: if (is_new_trace && On 2015/03/17 17:44:55, caseq wrote: > ...
5 years, 9 months ago (2015-03-17 18:36:05 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 9 months ago (2015-03-17 18:39:45 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 18:40:34 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4a4b55844b0cff76d33734555fd3267f0da7826e
Cr-Commit-Position: refs/heads/master@{#320947}

Powered by Google App Engine
This is Rietveld 408576698