|
|
cc: Use HighResNow as timebase if it is fast and reliable
If base::TimeTicks::HighResNow is fast and reliable, we use it
for frame times, animations, and scheduling. Otherwise, we use
base::TimeTicks::Now and use a timebase of zero to avoid an
incorrect or jittery timebase.
This adds a gfx::FrameTime::Now() function, so the same timebase
is used across the ui and cc directories.
Additionally, the OutputSurface now uses a HighRes version of the
DelayBasedTimesource if gfx::FrameTime::Now() is HighRes.
BUG= 303356
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231089
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+252 lines, -134 lines) |
Patch |
 |
M |
cc/input/top_controls_manager.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/input/top_controls_manager_unittest.cc
|
View
|
|
7 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layers/delegated_renderer_layer_impl_unittest.cc
|
View
|
|
25 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
 |
M |
cc/output/begin_frame_args.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/resources/resource_update_controller.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/scheduler/delay_based_time_source.h
|
View
|
|
2 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/scheduler/delay_based_time_source.cc
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/frame_rate_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/scheduler/scheduler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/scheduler/scheduler_state_machine.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
62 chunks |
+62 lines, -61 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/single_thread_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/thread_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/web_layer_tree_view_impl_for_testing.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer_animator.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer_animator_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/layer_animator_test_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gfx/animation/animation_container.cc
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
A |
ui/gfx/frame_time.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/gfx.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/surface/accelerated_surface_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|