|
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.
BUG= 162111
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171714
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+420 lines, -435 lines) |
Patch |
 |
A |
cc/animation_registrar.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/cc.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layer.h
|
View
|
1
2
3
4
5
6
|
7 chunks |
+7 lines, -15 lines |
0 comments
|
Download
|
 |
M |
cc/layer.cc
|
View
|
1
2
3
4
5
6
|
11 chunks |
+25 lines, -49 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.h
|
View
|
1
2
3
4
|
4 chunks |
+36 lines, -18 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller.cc
|
View
|
1
2
3
4
5
6
|
13 chunks |
+70 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/layer_animation_controller_unittest.cc
|
View
|
1
2
3
4
|
23 chunks |
+78 lines, -113 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.h
|
View
|
1
2
3
4
5
6
|
7 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
 |
M |
cc/layer_impl.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+20 lines, -28 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host.h
|
View
|
1
2
3
4
5
6
|
7 chunks |
+25 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+34 lines, -33 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+39 lines, -40 lines |
0 comments
|
Download
|
 |
M |
cc/proxy.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/single_thread_proxy.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/single_thread_proxy.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/animation_test_common.h
|
View
|
1
2
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
cc/test/animation_test_common.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_proxy.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -22 lines |
0 comments
|
Download
|
 |
M |
cc/thread_proxy.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/tree_synchronizer_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|