summaryrefslogtreecommitdiffstats
path: root/cc/layers/paint_properties.h
blob: 323e9499edb520e9a54fda9f768d7410d0ea68c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2012 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.

#ifndef CC_LAYERS_PAINT_PROPERTIES_H_
#define CC_LAYERS_PAINT_PROPERTIES_H_

#include "ui/gfx/size.h"

namespace cc {

// Container for properties that layers need to save before they can be paint.
struct CC_EXPORT PaintProperties {
  PaintProperties() : source_frame_number(-1) {}

  gfx::Size bounds;

  int source_frame_number;
};

}  // namespace cc

#endif  // CC_LAYERS_PAINT_PROPERTIES_H_