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

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed)

Created:
7 years, 10 months ago by nduca
Modified:
7 years, 10 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

[cc] Trace detailed tile info when --trace-all-rendered-frames With this command line flag, this store a detailed dump of all tile data into the trace buffer, including tile quads in screenspace. This provides enough foundation for cc-frame-viewer to visualize what impl-side painting is doing. NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181956

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : Ready for review, I think #

Patch Set 4 : . #

Patch Set 5 : rebased #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 7

Patch Set 8 : rebased #

Total comments: 4

Patch Set 9 : It works #

Patch Set 10 : . #

Total comments: 1

Patch Set 11 : Dont expose to extension yet #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -37 lines) Patch
M cc/layer_tree_debug_state.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_tree_debug_state.cc View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -2 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 chunks +49 lines, -20 lines 0 comments Download
M cc/math_util.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M cc/math_util.cc View 1 2 3 2 chunks +24 lines, -0 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -1 line 0 comments Download
M cc/picture_layer_tiling.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M cc/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -4 lines 0 comments Download
M cc/picture_layer_tiling_set.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M cc/picture_layer_tiling_set.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M cc/proxy.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M cc/single_thread_proxy.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M cc/single_thread_proxy.cc View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
M cc/switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/test/fake_proxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M cc/thread_proxy.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M cc/thread_proxy.cc View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
M cc/tile.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/tile.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -0 lines 0 comments Download
M cc/tile_manager.h View 1 2 3 4 5 6 7 4 chunks +7 lines, -1 line 0 comments Download
M cc/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +62 lines, -2 lines 0 comments Download
M cc/tile_priority.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +9 lines, -0 lines 0 comments Download
M cc/tile_priority.cc View 1 2 3 4 2 chunks +26 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
nduca
ptal, especially at tile.h's new set_screenspace_quad --- how do i make this cheap but runtime?
7 years, 10 months ago (2013-02-01 12:18:31 UTC) #1
nduca
7 years, 10 months ago (2013-02-01 19:26:05 UTC) #2
shawnsingh
I'll take a look over the weekend... in the meantime, here's my first reaction skimming ...
7 years, 10 months ago (2013-02-01 19:39:21 UTC) #3
whunt
On 2013/02/01 19:39:21, shawnsingh wrote: > I'll take a look over the weekend... in the ...
7 years, 10 months ago (2013-02-01 21:09:26 UTC) #4
whunt
https://codereview.chromium.org/12096112/diff/1/cc/tile.h File cc/tile.h (right): https://codereview.chromium.org/12096112/diff/1/cc/tile.h#newcode85 cc/tile.h:85: #ifndef NDEBUG question: does the style guide say anything ...
7 years, 10 months ago (2013-02-01 21:09:33 UTC) #5
shawnsingh
LGTM on my behalf; all my comments are just nits. In general I wonder if ...
7 years, 10 months ago (2013-02-07 21:11:33 UTC) #6
enne (OOO)
https://codereview.chromium.org/12096112/diff/12007/cc/picture_layer_tiling.cc File cc/picture_layer_tiling.cc (right): https://codereview.chromium.org/12096112/diff/12007/cc/picture_layer_tiling.cc#newcode15 cc/picture_layer_tiling.cc:15: static bool store_screen_space_quads_on_tiles = false; I agree with Shawn ...
7 years, 10 months ago (2013-02-12 00:21:13 UTC) #7
nduca
Re the static, you can't do it as a setting, its a runtime togglable thing. ...
7 years, 10 months ago (2013-02-12 00:54:44 UTC) #8
enne (OOO)
Is the debug state considered mutable?
7 years, 10 months ago (2013-02-12 01:00:04 UTC) #9
danakj
On Mon, Feb 11, 2013 at 4:54 PM, <nduca@chromium.org> wrote: > Re the static, you ...
7 years, 10 months ago (2013-02-12 01:00:32 UTC) #10
nduca
yeah, debug state is changable at runtime. Its my hope to not have this behidn ...
7 years, 10 months ago (2013-02-12 01:54:52 UTC) #11
nduca
ptal, this new patch routes the debug state in.
7 years, 10 months ago (2013-02-12 03:15:26 UTC) #12
enne (OOO)
lgtm
7 years, 10 months ago (2013-02-12 03:35:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/12096112/14005
7 years, 10 months ago (2013-02-12 03:46:57 UTC) #14
commit-bot: I haz the power
Presubmit check for 12096112-14005 failed and returned exit status 1. INFO:root:Found 31 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-12 03:47:06 UTC) #15
nduca
+piman for owners
7 years, 10 months ago (2013-02-12 04:03:07 UTC) #16
piman
https://chromiumcodereview.appspot.com/12096112/diff/14005/content/renderer/gpu/gpu_benchmarking_extension.cc File content/renderer/gpu/gpu_benchmarking_extension.cc (right): https://chromiumcodereview.appspot.com/12096112/diff/14005/content/renderer/gpu/gpu_benchmarking_extension.cc#newcode472 content/renderer/gpu/gpu_benchmarking_extension.cc:472: static_cast<WebLayerTreeViewImpl*>(render_view_impl->layerTreeView()); This is a content::RenderWidgetCompositor now... Might be worth ...
7 years, 10 months ago (2013-02-12 04:55:07 UTC) #17
jamesr
On 2013/02/12 04:55:07, piman wrote: > https://chromiumcodereview.appspot.com/12096112/diff/14005/content/renderer/gpu/gpu_benchmarking_extension.cc > File content/renderer/gpu/gpu_benchmarking_extension.cc (right): > > https://chromiumcodereview.appspot.com/12096112/diff/14005/content/renderer/gpu/gpu_benchmarking_extension.cc#newcode472 > ...
7 years, 10 months ago (2013-02-12 05:25:41 UTC) #18
nduca
I'm actually going to remove the extension part from this patch. I can add in ...
7 years, 10 months ago (2013-02-12 05:29:57 UTC) #19
jamesr
content/renderer lgtm (I don't have OWNERS for content/browser but that looks harmless as well)
7 years, 10 months ago (2013-02-12 05:43:18 UTC) #20
piman
lgtm
7 years, 10 months ago (2013-02-12 06:30:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/12096112/16019
7 years, 10 months ago (2013-02-12 06:51:08 UTC) #22
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98561
7 years, 10 months ago (2013-02-12 07:42:20 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/12096112/16019
7 years, 10 months ago (2013-02-12 18:28:24 UTC) #24
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 18:31:10 UTC) #25
Message was sent while issue was closed.
Change committed as 181956

Powered by Google App Engine
This is Rietveld 408576698