|
Ref count layer animation controllers.
With this patch we accomplish the following:
1. layer animation controllers are ref counted (so they can be shared by the two impl trees)
2. the layer tree hosts now own a list of active animation controllers. This allows for a couple of nice things
__a. Ticking the animation controllers no longer requires a tree walk
__b. We will be able to support ticking of animation controllers for layers that are not yet added to the layer tree. (Support coming in a future patch).
3. animation controllers register and unregister themselves from their respective layer tree host's list when they have an animation to tick.
[email protected],[email protected]
BUG= 162111
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174043
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+530 lines, -381 lines) |
Patch |
 |
A |
cc/animation_registrar.h
|
View
|
1
2
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
cc/animation_registrar.cc
|
View
|
1
2
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc.gyp
|
View
|
1
2
3
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/layer.h
|
View
|
1
2
3
|
8 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/layer.cc
|
View
|
1
2
3
4
|
12 chunks |
+38 lines, -38 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.h
|
View
|
1
2
3
4
|
5 chunks |
+35 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.cc
|
View
|
1
2
3
|
13 chunks |
+73 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller_unittest.cc
|
View
|
1
2
|
18 chunks |
+69 lines, -60 lines |
0 comments
|
Download
|
 |
A + |
cc/layer_animation_event_observer.h
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
D |
cc/layer_animation_observer.h
|
View
|
1
2
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
A |
cc/layer_animation_value_observer.h
|
View
|
1
2
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.h
|
View
|
1
2
3
|
6 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.cc
|
View
|
1
2
|
6 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host.h
|
View
|
1
2
|
5 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host.cc
|
View
|
1
2
|
7 chunks |
+14 lines, -33 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_common_unittest.cc
|
View
|
1
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.h
|
View
|
1
2
3
|
6 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.cc
|
View
|
1
2
3
|
7 chunks |
+19 lines, -42 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_unittest_animation.cc
|
View
|
1
2
3
4
|
5 chunks |
+32 lines, -28 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_impl.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_impl.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/proxy.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/single_thread_proxy.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/single_thread_proxy.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/animation_test_common.h
|
View
|
1
2
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/test/animation_test_common.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_proxy.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.h
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.cc
|
View
|
1
2
3
4
|
5 chunks |
+10 lines, -20 lines |
0 comments
|
Download
|
 |
M |
cc/thread_proxy.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/tree_synchronizer_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|