[email protected] | 0fb2500 | 2012-10-12 07:20:02 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
[email protected] | cd57cc5a | 2012-10-12 22:43:41 | [diff] [blame] | 4 | |
[email protected] | cc3cfaa | 2013-03-18 09:05:52 | [diff] [blame] | 5 | #ifndef CC_LAYERS_APPEND_QUADS_DATA_H_ |
6 | #define CC_LAYERS_APPEND_QUADS_DATA_H_ | ||||
[email protected] | cd57cc5a | 2012-10-12 22:43:41 | [diff] [blame] | 7 | |
avi | 02a4d17 | 2015-12-21 06:14:36 | [diff] [blame] | 8 | #include <stdint.h> |
9 | |||||
[email protected] | cd57cc5a | 2012-10-12 22:43:41 | [diff] [blame] | 10 | namespace cc { |
11 | |||||
vollick | c9a27cb | 2016-01-07 20:16:32 | [diff] [blame] | 12 | // Set by the layer appending quads. |
[email protected] | 96baf3e | 2012-10-22 23:09:55 | [diff] [blame] | 13 | struct AppendQuadsData { |
vollick | c9a27cb | 2016-01-07 20:16:32 | [diff] [blame] | 14 | int64_t num_incomplete_tiles = 0; |
15 | int64_t num_missing_tiles = 0; | ||||
16 | int64_t visible_layer_area = 0; | ||||
17 | int64_t approximated_visible_content_area = 0; | ||||
[email protected] | cd57cc5a | 2012-10-12 22:43:41 | [diff] [blame] | 18 | |
vollick | c9a27cb | 2016-01-07 20:16:32 | [diff] [blame] | 19 | // This is total of the following two areas. |
20 | int64_t checkerboarded_visible_content_area = 0; | ||||
21 | // This is the area outside interest rect. | ||||
22 | int64_t checkerboarded_no_recording_content_area = 0; | ||||
23 | // This is the area within interest rect. | ||||
24 | int64_t checkerboarded_needs_raster_content_area = 0; | ||||
[email protected] | cd57cc5a | 2012-10-12 22:43:41 | [diff] [blame] | 25 | }; |
26 | |||||
[email protected] | bf691c2 | 2013-03-26 21:15:06 | [diff] [blame] | 27 | } // namespace cc |
[email protected] | cc3cfaa | 2013-03-18 09:05:52 | [diff] [blame] | 28 | #endif // CC_LAYERS_APPEND_QUADS_DATA_H_ |