Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Issue 61883006: Compositor thread plumbing for layout rectangle debug info. (Closed)

Created:
7 years, 1 month ago by chrishtr
Modified:
7 years ago
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Plumbing for layout rectangle debug info. Companion to https://code.google.com/p/chromium/issues/detail?id=314945 Patch from Chris Harrelson <[email protected]>; BUG=314945 .. .. Plumbing for for layout rectangle debug information. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238297

Patch Set 1 #

Patch Set 2 : Rebase to latest #

Patch Set 3 : Change WebKit:: to blink:: #

Patch Set 4 : Changed to maps::debug::ConvertableToTraceFormat. #

Patch Set 5 : Updated to a Set rather than Get API, and made everything work. #

Patch Set 6 : Addressed reviewer comments. #

Total comments: 12

Patch Set 7 : Updated per reviewer comments. #

Patch Set 8 : Added a TODO. #

Patch Set 9 : Changed from a set pattern to a get pattern, to align with frame boundary computation. #

Patch Set 10 : Adjusted method names. #

Patch Set 11 : Fixed a few formatting issues. #

Patch Set 12 : Checked for client_ being NULL before dereference. #

Patch Set 13 : Added myself to AUTHORS. #

Patch Set 14 : Implement TakeDebugInfo in Layer. #

Patch Set 15 : Implemented TakeDebugInfo in ui::Layer. #

Total comments: 5

Patch Set 16 : Changed to scoped_refptr for interfaces. #

Total comments: 4

Patch Set 17 : Add thread checking. #

Patch Set 18 : Added TODO, fixed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -4 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +14 lines, -4 lines 0 comments Download
M cc/layers/layer_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +13 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +8 lines, -0 lines 0 comments Download
M webkit/renderer/compositor_bindings/web_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
chrishtr_gmail.com
One issue with this CL: not clear to me yet the best way to pass ...
7 years, 1 month ago (2013-11-06 20:52:50 UTC) #1
chrishtr_gmail.com
This CL is now in final form and ready for full review.
7 years, 1 month ago (2013-11-16 05:17:55 UTC) #2
nduca
lgtm
7 years ago (2013-11-25 18:24:34 UTC) #3
enne (OOO)
https://codereview.chromium.org/61883006/diff/220001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/61883006/diff/220001/cc/layers/layer.cc#newcode933 cc/layers/layer.cc:933: layer->SetDebugInfo(debug_info_); ConvertableToTraceFormat is not thread-safe refcounted. This seems a ...
7 years ago (2013-11-25 20:16:44 UTC) #4
chrishtr_gmail.com
https://codereview.chromium.org/61883006/diff/220001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/61883006/diff/220001/cc/layers/layer.cc#newcode933 cc/layers/layer.cc:933: layer->SetDebugInfo(debug_info_); On 2013/11/25 20:16:45, enne wrote: > ConvertableToTraceFormat is ...
7 years ago (2013-11-25 22:48:25 UTC) #5
enne (OOO)
https://codereview.chromium.org/61883006/diff/220001/webkit/renderer/compositor_bindings/web_layer_impl.cc File webkit/renderer/compositor_bindings/web_layer_impl.cc (right): https://codereview.chromium.org/61883006/diff/220001/webkit/renderer/compositor_bindings/web_layer_impl.cc#newcode393 webkit/renderer/compositor_bindings/web_layer_impl.cc:393: void WebLayerImpl::setDebugInfo( On 2013/11/25 22:48:25, chrishtr wrote: > Putting ...
7 years ago (2013-11-25 22:49:32 UTC) #6
chrishtr_gmail.com
I changed to the get rather than set pattern, as we discussed offline. Everything works. ...
7 years ago (2013-11-26 21:49:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/320001
7 years ago (2013-11-27 17:41:01 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38382
7 years ago (2013-11-27 17:58:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/320001
7 years ago (2013-12-02 18:05:22 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38869
7 years ago (2013-12-02 18:29:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/340001
7 years ago (2013-12-02 18:56:17 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38886
7 years ago (2013-12-02 19:16:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/360001
7 years ago (2013-12-02 19:45:35 UTC) #14
danakj
Please see the PRESUBMIT bot output: [email protected] is not in AUTHORS file. If you are ...
7 years ago (2013-12-02 19:46:59 UTC) #15
chrishtr_gmail.com
I figured that one out in the latest run - added myself to AUTHORS and ...
7 years ago (2013-12-02 20:24:19 UTC) #16
danakj
On 2013/12/02 20:24:19, chrishtr wrote: > I figured that one out in the latest run ...
7 years ago (2013-12-02 20:27:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/360001
7 years ago (2013-12-02 20:31:24 UTC) #18
commit-bot: I haz the power
Failed to trigger a try job on win_x64_rel HTTP Error 400: Bad Request
7 years ago (2013-12-02 21:05:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/380001
7 years ago (2013-12-02 21:05:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/400001
7 years ago (2013-12-02 23:16:51 UTC) #21
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=38971
7 years ago (2013-12-02 23:33:23 UTC) #22
danakj
https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 cc/layers/layer_client.h:25: // If not, returns NULL. If the returned pointer ...
7 years ago (2013-12-02 23:37:41 UTC) #23
pdr.
I think we need an OWNER lgtm for these changes before the presubmit script will ...
7 years ago (2013-12-02 23:43:11 UTC) #24
danakj
I'll be happy to review, but I have a question about this API, in previous ...
7 years ago (2013-12-02 23:44:27 UTC) #25
chrishtr_gmail.com
Thanks for the quick reply. https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 cc/layers/layer_client.h:25: // If not, returns ...
7 years ago (2013-12-02 23:55:18 UTC) #26
danakj
https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 cc/layers/layer_client.h:25: // If not, returns NULL. If the returned pointer ...
7 years ago (2013-12-02 23:57:27 UTC) #27
chrishtr_gmail.com
https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 cc/layers/layer_client.h:25: // If not, returns NULL. If the returned pointer ...
7 years ago (2013-12-03 00:00:10 UTC) #28
chrishtr_gmail.com
https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h File cc/layers/layer_client.h (right): https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 cc/layers/layer_client.h:25: // If not, returns NULL. If the returned pointer ...
7 years ago (2013-12-03 00:02:22 UTC) #29
danakj
On 2013/12/03 00:00:10, chrishtr wrote: > https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h > File cc/layers/layer_client.h (right): > > https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h#newcode25 > ...
7 years ago (2013-12-03 00:03:05 UTC) #30
chrishtr_gmail.com
On 2013/12/03 00:03:05, danakj wrote: > On 2013/12/03 00:00:10, chrishtr wrote: > > https://codereview.chromium.org/61883006/diff/400001/cc/layers/layer_client.h > ...
7 years ago (2013-12-03 00:10:49 UTC) #31
danakj
On Mon, Dec 2, 2013 at 7:10 PM, <[email protected]> wrote: > On 2013/12/03 00:03:05, danakj ...
7 years ago (2013-12-03 00:13:00 UTC) #32
chrishtr_gmail.com
On 2013/12/03 00:13:00, danakj wrote: > On Mon, Dec 2, 2013 at 7:10 PM, <mailto:[email protected]> ...
7 years ago (2013-12-03 00:29:07 UTC) #33
danakj
Thanks, LGTM https://codereview.chromium.org/61883006/diff/420001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://codereview.chromium.org/61883006/diff/420001/ui/compositor/layer.cc#newcode671 ui/compositor/layer.cc:671: return scoped_refptr<base::debug::ConvertableToTraceFormat>(NULL); Maybe a TODO here to ...
7 years ago (2013-12-03 00:38:18 UTC) #34
chrishtr_gmail.com
Could you also check the CQ box for me? https://codereview.chromium.org/61883006/diff/420001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://codereview.chromium.org/61883006/diff/420001/ui/compositor/layer.cc#newcode671 ui/compositor/layer.cc:671: ...
7 years ago (2013-12-03 00:44:07 UTC) #35
danakj
On 2013/12/03 00:44:07, chrishtr wrote: > Could you also check the CQ box for me? ...
7 years ago (2013-12-03 00:44:42 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/61883006/460001
7 years ago (2013-12-03 00:45:09 UTC) #37
commit-bot: I haz the power
7 years ago (2013-12-03 03:53:29 UTC) #38
Message was sent while issue was closed.
Change committed as 238297

Powered by Google App Engine
This is Rietveld 408576698