blob: cf17b5b28c5d8ec6f860e51a9ddd724bb4e4cf25 [file] [log] [blame]
[email protected]0fb25002012-10-12 07:20:021// 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]cd57cc5a2012-10-12 22:43:414
[email protected]cc3cfaa2013-03-18 09:05:525#ifndef CC_LAYERS_APPEND_QUADS_DATA_H_
6#define CC_LAYERS_APPEND_QUADS_DATA_H_
[email protected]cd57cc5a2012-10-12 22:43:417
avi02a4d172015-12-21 06:14:368#include <stdint.h>
9
[email protected]cd57cc5a2012-10-12 22:43:4110namespace cc {
11
vollickc9a27cb2016-01-07 20:16:3212// Set by the layer appending quads.
[email protected]96baf3e2012-10-22 23:09:5513struct AppendQuadsData {
vollickc9a27cb2016-01-07 20:16:3214 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]cd57cc5a2012-10-12 22:43:4118
vollickc9a27cb2016-01-07 20:16:3219 // 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]cd57cc5a2012-10-12 22:43:4125};
26
[email protected]bf691c22013-03-26 21:15:0627} // namespace cc
[email protected]cc3cfaa2013-03-18 09:05:5228#endif // CC_LAYERS_APPEND_QUADS_DATA_H_