OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stddef.h> |
| 6 |
5 #include <set> | 7 #include <set> |
6 #include <vector> | 8 #include <vector> |
7 | 9 |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "cc/base/math_util.h" | 11 #include "cc/base/math_util.h" |
10 #include "cc/proto/gfx_conversions.h" | 12 #include "cc/proto/gfx_conversions.h" |
11 #include "cc/proto/property_tree.pb.h" | 13 #include "cc/proto/property_tree.pb.h" |
12 #include "cc/proto/scroll_offset.pb.h" | 14 #include "cc/proto/scroll_offset.pb.h" |
13 #include "cc/proto/transform.pb.h" | 15 #include "cc/proto/transform.pb.h" |
14 #include "cc/proto/vector2df.pb.h" | 16 #include "cc/proto/vector2df.pb.h" |
(...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 transform_tree.FromProtobuf(proto.transform_tree()); | 1131 transform_tree.FromProtobuf(proto.transform_tree()); |
1130 effect_tree.FromProtobuf(proto.effect_tree()); | 1132 effect_tree.FromProtobuf(proto.effect_tree()); |
1131 clip_tree.FromProtobuf(proto.clip_tree()); | 1133 clip_tree.FromProtobuf(proto.clip_tree()); |
1132 | 1134 |
1133 needs_rebuild = proto.needs_rebuild(); | 1135 needs_rebuild = proto.needs_rebuild(); |
1134 non_root_surfaces_enabled = proto.non_root_surfaces_enabled(); | 1136 non_root_surfaces_enabled = proto.non_root_surfaces_enabled(); |
1135 sequence_number = proto.sequence_number(); | 1137 sequence_number = proto.sequence_number(); |
1136 } | 1138 } |
1137 | 1139 |
1138 } // namespace cc | 1140 } // namespace cc |
OLD | NEW |