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

Issue 11414017: cc: handling debug settings in new LayerTreeDebugState structure (Closed)

Created:
8 years, 1 month ago by egraether
Modified:
8 years ago
Reviewers:
danakj, nduca, piman
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org, jamesr
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

This change puts all settings for debugging/HudLayer in a new LayerTreeDebugState structure. This allows for easier toggling of debug settings. Commandline switches get OR'ed in. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170345

Patch Set 1 #

Total comments: 4

Patch Set 2 : global and local hudLayerSettings in layerTreeHost #

Total comments: 6

Patch Set 3 : rewrote to LayerTreeSwitches #

Total comments: 12

Patch Set 4 : renamed to LayerTreeDebugState, removed WebLayerTreeViewImpl::setShowPaintRects() #

Patch Set 5 : fixing tests #

Total comments: 10

Patch Set 6 : reimplemented merge to unite, nits #

Patch Set 7 : Rebase to 169804 #

Total comments: 1

Patch Set 8 : resolved nit #

Patch Set 9 : Rebase to 170216 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -82 lines) Patch
M cc/debug_rect_history.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M cc/debug_rect_history.cc View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M cc/heads_up_display_layer.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M cc/heads_up_display_layer.cc View 1 2 3 4 5 4 chunks +6 lines, -13 lines 0 comments Download
M cc/heads_up_display_layer_impl.h View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M cc/heads_up_display_layer_impl.cc View 1 2 3 4 5 4 chunks +5 lines, -11 lines 0 comments Download
M cc/heads_up_display_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 chunks +25 lines, -9 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 8 chunks +68 lines, -17 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -5 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 3 4 5 3 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
egraether
When working on a new toggle for the showPaintRects flag in the HUDLayer, I realized ...
8 years, 1 month ago (2012-11-15 23:37:07 UTC) #1
danakj
This actually won't work well unfortunately. While we are reading the command line flags in ...
8 years, 1 month ago (2012-11-16 00:17:14 UTC) #2
egraether
On 2012/11/16 00:17:14, danakj wrote: > This actually won't work well unfortunately. > > While ...
8 years, 1 month ago (2012-11-16 01:13:02 UTC) #3
egraether
made changes based on 1:1 with nduca: The commandline flags for the hudLayer are stored ...
8 years, 1 month ago (2012-11-20 21:30:29 UTC) #4
danakj
https://codereview.chromium.org/11414017/diff/6002/cc/heads_up_display_layer.h File cc/heads_up_display_layer.h (right): https://codereview.chromium.org/11414017/diff/6002/cc/heads_up_display_layer.h#newcode14 cc/heads_up_display_layer.h:14: struct HeadsUpDisplayLayerSettings { I'd rather not tie this to ...
8 years, 1 month ago (2012-11-20 22:12:21 UTC) #5
egraether
Rewrote to new structure LayerTreeSwitches, which holds values that can be changed while running. This ...
8 years, 1 month ago (2012-11-22 00:23:15 UTC) #6
danakj
I like this very very much :) Some naming nits/thoughts, and a couple comments for ...
8 years ago (2012-11-26 19:57:18 UTC) #7
danakj
https://codereview.chromium.org/11414017/diff/16/cc/layer_tree_host.h File cc/layer_tree_host.h (right): https://codereview.chromium.org/11414017/diff/16/cc/layer_tree_host.h#newcode52 cc/layer_tree_host.h:52: struct CC_EXPORT LayerTreeSwitches { On 2012/11/26 19:57:18, danakj wrote: ...
8 years ago (2012-11-26 19:58:25 UTC) #8
egraether
On 2012/11/26 19:58:25, danakj wrote: > https://codereview.chromium.org/11414017/diff/16/cc/layer_tree_host.h > File cc/layer_tree_host.h (right): > > https://codereview.chromium.org/11414017/diff/16/cc/layer_tree_host.h#newcode52 > ...
8 years ago (2012-11-27 19:23:38 UTC) #9
danakj
Do we have any tests that verify these debug flags end up being set/merged/committed correctly? ...
8 years ago (2012-11-27 20:23:15 UTC) #10
nduca
I dont think we need tests
8 years ago (2012-11-27 20:42:02 UTC) #11
enne (OOO)
On 2012/11/27 20:42:02, nduca wrote: > I dont think we need tests I do. I ...
8 years ago (2012-11-27 21:26:21 UTC) #12
egraether
https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc#newcode86 cc/layer_tree_host.cc:86: LayerTreeDebugState LayerTreeDebugState::merge(const LayerTreeDebugState& a, const LayerTreeDebugState& b) On 2012/11/27 ...
8 years ago (2012-11-27 22:10:47 UTC) #13
danakj
https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc#newcode89 cc/layer_tree_host.cc:89: memmrg(&r, &b, sizeof(LayerTreeDebugState)); On 2012/11/27 22:10:47, egraether wrote: > ...
8 years ago (2012-11-27 22:15:00 UTC) #14
egraether
On 2012/11/27 21:26:21, enne wrote: > On 2012/11/27 20:42:02, nduca wrote: > > I dont ...
8 years ago (2012-11-27 22:16:26 UTC) #15
egraether
On 2012/11/27 22:15:00, danakj wrote: > https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc > File cc/layer_tree_host.cc (right): > > https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc#newcode89 > ...
8 years ago (2012-11-27 23:16:41 UTC) #16
danakj
On 2012/11/27 23:16:41, egraether wrote: > On 2012/11/27 22:15:00, danakj wrote: > > https://codereview.chromium.org/11414017/diff/13009/cc/layer_tree_host.cc > ...
8 years ago (2012-11-27 23:20:41 UTC) #17
egraether
On 2012/11/27 23:20:41, danakj wrote: > On 2012/11/27 23:16:41, egraether wrote: > > On 2012/11/27 ...
8 years ago (2012-11-27 23:43:58 UTC) #18
danakj
On Tue, Nov 27, 2012 at 3:42 PM, <nduca@chromium.org> wrote: > I dont think we ...
8 years ago (2012-11-27 23:46:30 UTC) #19
danakj
On Tue, Nov 27, 2012 at 6:43 PM, <egraether@chromium.org> wrote: > On 2012/11/27 23:20:41, danakj ...
8 years ago (2012-11-27 23:49:31 UTC) #20
egraether
On 2012/11/27 23:49:31, danakj wrote: > On Tue, Nov 27, 2012 at 6:43 PM, <mailto:egraether@chromium.org> ...
8 years ago (2012-11-28 19:11:20 UTC) #21
danakj
LGTM+nit thanks! https://codereview.chromium.org/11414017/diff/12008/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11414017/diff/12008/cc/layer_tree_host.cc#newcode489 cc/layer_tree_host.cc:489: if (!LayerTreeDebugState::equal(m_debugState, newDebugState)) { nit: early-out if ...
8 years ago (2012-11-28 19:22:15 UTC) #22
egraether
nduca, piman can you please have a look as well?
8 years ago (2012-11-28 20:51:10 UTC) #23
nduca
bindings lgtm
8 years ago (2012-11-28 21:22:30 UTC) #24
piman
lgtm
8 years ago (2012-11-28 22:34:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/11414017/12012
8 years ago (2012-11-28 22:39:05 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-11-28 23:48:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/11414017/14007
8 years ago (2012-11-29 17:48:33 UTC) #28
commit-bot: I haz the power
8 years ago (2012-11-30 01:55:22 UTC) #29
Message was sent while issue was closed.
Change committed as 170345

Powered by Google App Engine
This is Rietveld 408576698