Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: cc/layers/append_quads_data.h

Issue 1131633003: cc: Use multiple PrepareTiles approaches Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/basictypes.h"
9 #include "cc/quads/render_pass_id.h" 9 #include "cc/quads/render_pass_id.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 struct AppendQuadsData { 13 struct AppendQuadsData {
14 AppendQuadsData() 14 AppendQuadsData()
15 : num_incomplete_tiles(0), 15 : num_incomplete_tiles(0),
16 num_missing_tiles(0), 16 num_missing_tiles(0),
17 visible_content_area(0), 17 visible_content_area(0),
18 approximated_visible_content_area(0), 18 approximated_visible_content_area(0),
19 checkerboarded_visible_content_area(0) {} 19 checkerboarded_visible_content_area(0),
20 raster_source_covers_visible_high_res_tiles(true) {}
20 21
21 // Set by the layer appending quads. 22 // Set by the layer appending quads.
22 int64 num_incomplete_tiles; 23 int64 num_incomplete_tiles;
23 // Set by the layer appending quads. 24 // Set by the layer appending quads.
24 int64 num_missing_tiles; 25 int64 num_missing_tiles;
25 // Set by the layer appending quads. 26 // Set by the layer appending quads.
26 int64 visible_content_area; 27 int64 visible_content_area;
27 // Set by the layer appending quads. 28 // Set by the layer appending quads.
28 int64 approximated_visible_content_area; 29 int64 approximated_visible_content_area;
29 // Set by the layer appending quads. 30 // Set by the layer appending quads.
30 int64 checkerboarded_visible_content_area; 31 int64 checkerboarded_visible_content_area;
32 // Set by the layer appending quads.
33 bool raster_source_covers_visible_high_res_tiles;
31 }; 34 };
32 35
33 } // namespace cc 36 } // namespace cc
34 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_ 37 #endif // CC_LAYERS_APPEND_QUADS_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698