|
|
Convert CC scheduler logic to use base::TimeTicks/Delta instead of doubles
Instead of using double seconds, this converts the scheduler and timer logic
in libcc to use base::TimeTicks and base::TimeDelta. This puts the units in
the type system instead of variable names and comments making second/millisecond
confusion less likely and integrates better with the rest of chromium.
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157783
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+159 lines, -162 lines) |
Patch |
 |
M |
cc/CCDelayBasedTimeSource.h
|
View
|
|
2 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/CCDelayBasedTimeSource.cpp
|
View
|
|
8 chunks |
+31 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/CCDelayBasedTimeSourceTest.cpp
|
View
|
|
26 chunks |
+45 lines, -51 lines |
0 comments
|
Download
|
 |
M |
cc/CCFrameRateController.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/CCFrameRateController.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/CCFrameRateControllerTest.cpp
|
View
|
|
5 chunks |
+24 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/CCLayerTreeHostImpl.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/CCLayerTreeHostImpl.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/CCScheduler.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/CCScheduler.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/CCSchedulerTest.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/CCThreadProxy.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/CCThreadProxy.cpp
|
View
|
1
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/CCThreadedTest.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/CCThreadedTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/CCTimeSource.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/test/CCSchedulerTestCommon.h
|
View
|
|
3 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|