|
cc: Adding creation location to debug BeginFrameArgs objects.
This allows easy tracing of a BeginFrameArgs object back to the
BeginFrameSource that created it. This is very useful as we have multiple
BeginFrameSources in the system now. The Primary / Background sources being a
perfect example.
While location tracking is highly optimised (as it is used in every base::Bind
calls) it doubles the size of BeginFrameArgs objects. Hence we only enable
location tracking in debug builds. In release builds we make sure to never
create the Location objects in the first place, so no extra strings are found
in the binary. This can be checked with the strings tool.
BUG= 346230
DEPS=742683002
Committed: https://crrev.com/06d1f3bfeece8b32c67bc41d4b4d7d6dcec01b32
Cr-Commit-Position: refs/heads/master@{#306326}
Total comments: 15
Total comments: 17
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+319 lines, -205 lines) |
Patch |
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
29 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
M |
cc/output/begin_frame_args.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/begin_frame_args.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/begin_frame_args_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+29 lines, -14 lines |
0 comments
|
Download
|
 |
M |
cc/resources/tile_manager_perftest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/scheduler/begin_frame_source.cc
|
View
|
1
3
4
6
7
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/begin_frame_source_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+75 lines, -46 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/scheduler_state_machine_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
50 chunks |
+56 lines, -52 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/scheduler_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/test/begin_frame_args_test.h
|
View
|
1
2
3
4
6
7
|
1 chunk |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/test/begin_frame_args_test.cc
|
View
|
1
2
3
4
6
7
|
1 chunk |
+33 lines, -23 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_layer_tree_host_impl.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/single_thread_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/compositor_forwarding_message_filter_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/render_widget_compositor_unittest.cc
|
View
|
1
2
3
4
6
7
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/scheduler/renderer_scheduler_impl_unittest.cc
|
View
|
1
2
3
4
6
7
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 41 (11 generated)
|