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_APPEND_QUADS_DATA_H_ | 5 #ifndef CC_LAYERS_APPEND_QUADS_DATA_H_ |
6 #define CC_LAYERS_APPEND_QUADS_DATA_H_ | 6 #define CC_LAYERS_APPEND_QUADS_DATA_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "cc/quads/render_pass_id.h" | 10 #include "cc/quads/render_pass_id.h" |
10 | 11 |
11 namespace cc { | 12 namespace cc { |
12 | 13 |
13 struct AppendQuadsData { | 14 struct AppendQuadsData { |
14 AppendQuadsData() | 15 AppendQuadsData() |
15 : num_incomplete_tiles(0), | 16 : num_incomplete_tiles(0), |
16 num_missing_tiles(0), | 17 num_missing_tiles(0), |
17 visible_layer_area(0), | 18 visible_layer_area(0), |
18 approximated_visible_content_area(0), | 19 approximated_visible_content_area(0), |
19 checkerboarded_visible_content_area(0), | 20 checkerboarded_visible_content_area(0), |
20 checkerboarded_no_recording_content_area(0), | 21 checkerboarded_no_recording_content_area(0), |
21 checkerboarded_needs_raster_content_area(0) {} | 22 checkerboarded_needs_raster_content_area(0) {} |
22 | 23 |
23 // Set by the layer appending quads. | 24 // Set by the layer appending quads. |
24 int64 num_incomplete_tiles; | 25 int64_t num_incomplete_tiles; |
25 // Set by the layer appending quads. | 26 // Set by the layer appending quads. |
26 int64 num_missing_tiles; | 27 int64_t num_missing_tiles; |
27 // Set by the layer appending quads. | 28 // Set by the layer appending quads. |
28 int64 visible_layer_area; | 29 int64_t visible_layer_area; |
29 // Set by the layer appending quads. | 30 // Set by the layer appending quads. |
30 int64 approximated_visible_content_area; | 31 int64_t approximated_visible_content_area; |
31 // Set by the layer appending quads. This is total of the following two areas. | 32 // Set by the layer appending quads. This is total of the following two areas. |
32 int64 checkerboarded_visible_content_area; | 33 int64_t checkerboarded_visible_content_area; |
33 // Set by the layer appending quads. This is the area outside interest rect. | 34 // Set by the layer appending quads. This is the area outside interest rect. |
34 int64 checkerboarded_no_recording_content_area; | 35 int64_t checkerboarded_no_recording_content_area; |
35 // Set by the layer appending quads. This is the area within interest rect. | 36 // Set by the layer appending quads. This is the area within interest rect. |
36 int64 checkerboarded_needs_raster_content_area; | 37 int64_t checkerboarded_needs_raster_content_area; |
37 }; | 38 }; |
38 | 39 |
39 } // namespace cc | 40 } // namespace cc |
40 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_ | 41 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_ |
OLD | NEW |