OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CC_LAYERS_PAINT_PROPERTIES_H_ | 5 #ifndef CC_LAYERS_PAINT_PROPERTIES_H_ |
6 #define CC_LAYERS_PAINT_PROPERTIES_H_ | 6 #define CC_LAYERS_PAINT_PROPERTIES_H_ |
7 | 7 |
8 #include <utility> | |
9 #include <vector> | |
10 | |
11 #include "cc/base/cc_export.h" | |
8 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
9 | 13 |
10 namespace cc { | 14 namespace cc { |
11 | 15 |
12 // Container for properties that layers need to save before they can be paint. | 16 // Container for properties that layers need to save before they can be paint. |
13 struct CC_EXPORT PaintProperties { | 17 struct CC_EXPORT PaintProperties { |
14 PaintProperties() : source_frame_number(-1) {} | 18 PaintProperties(); |
19 ~PaintProperties(); | |
15 | 20 |
16 gfx::Size bounds; | 21 gfx::Size bounds; |
17 | 22 |
18 int source_frame_number; | 23 int source_frame_number; |
24 | |
25 std::vector<std::pair<int, int64_t> > draw_frame_request_ids; | |
enne (OOO)
2014/07/22 20:44:25
This looks unused. I'm not sure you should be cha
Mike B
2014/07/25 23:09:40
Yes, that was from an earlier iteration and snuck
| |
19 }; | 26 }; |
20 | 27 |
21 } // namespace cc | 28 } // namespace cc |
22 | 29 |
23 #endif // CC_LAYERS_PAINT_PROPERTIES_H_ | 30 #endif // CC_LAYERS_PAINT_PROPERTIES_H_ |
OLD | NEW |