diff options
Diffstat (limited to 'cc/layers/draw_properties.cc')
-rw-r--r-- | cc/layers/draw_properties.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cc/layers/draw_properties.cc b/cc/layers/draw_properties.cc new file mode 100644 index 0000000..da0d41e --- /dev/null +++ b/cc/layers/draw_properties.cc @@ -0,0 +1,24 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "cc/layers/draw_properties.h" + +namespace cc { + +DrawProperties::DrawProperties() + : opacity(0.f), + screen_space_transform_is_animating(false), + can_use_lcd_text(false), + render_target(nullptr), + num_unclipped_descendants(0), + layer_or_descendant_has_copy_request(false), + layer_or_descendant_has_input_handler(false), + has_child_with_a_scroll_parent(false), + last_drawn_render_surface_layer_list_id(0), + maximum_animation_contents_scale(0.f), + starting_animation_contents_scale(0.f) {} + +DrawProperties::~DrawProperties() {} + +} // namespace cc |