OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "cc/layers/draw_properties.h" | 5 #include "cc/layers/draw_properties.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 DrawProperties::DrawProperties() | 9 DrawProperties::DrawProperties() |
10 : opacity(0.f), | 10 : opacity(0.f), |
11 screen_space_transform_is_animating(false), | 11 screen_space_transform_is_animating(false), |
12 can_use_lcd_text(false), | 12 can_use_lcd_text(false), |
13 is_clipped(false), | 13 is_clipped(false), |
14 render_target(nullptr), | |
15 num_unclipped_descendants(0), | 14 num_unclipped_descendants(0), |
16 last_drawn_render_surface_layer_list_id(0), | 15 last_drawn_render_surface_layer_list_id(0), |
17 maximum_animation_contents_scale(0.f), | 16 maximum_animation_contents_scale(0.f), |
18 starting_animation_contents_scale(0.f) {} | 17 starting_animation_contents_scale(0.f) {} |
19 | 18 |
20 DrawProperties::~DrawProperties() {} | 19 DrawProperties::~DrawProperties() {} |
21 | 20 |
22 } // namespace cc | 21 } // namespace cc |
OLD | NEW |