summaryrefslogtreecommitdiffstats
path: root/cc/layers/draw_properties.cc
blob: c87fece7774486a0e5a2bc4657ac9224441adbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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),
      is_clipped(false),
      render_target(nullptr),
      num_unclipped_descendants(0),
      last_drawn_render_surface_layer_list_id(0),
      maximum_animation_contents_scale(0.f),
      starting_animation_contents_scale(0.f) {}

DrawProperties::~DrawProperties() {}

}  // namespace cc