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

Unified 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: fix raster source detection 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/append_quads_data.h
diff --git a/cc/layers/append_quads_data.h b/cc/layers/append_quads_data.h
index 50f58775d48a3c7e101f6d6da466123a814eec2e..799ae82ebb01e430600c6c527d93970313448d68 100644
--- a/cc/layers/append_quads_data.h
+++ b/cc/layers/append_quads_data.h
@@ -16,7 +16,8 @@ struct AppendQuadsData {
num_missing_tiles(0),
visible_content_area(0),
approximated_visible_content_area(0),
- checkerboarded_visible_content_area(0) {}
+ checkerboarded_visible_content_area(0),
+ raster_source_covers_visible_high_res_tiles(true) {}
// Set by the layer appending quads.
int64 num_incomplete_tiles;
@@ -28,6 +29,8 @@ struct AppendQuadsData {
int64 approximated_visible_content_area;
// Set by the layer appending quads.
int64 checkerboarded_visible_content_area;
+ // Set by the layer appending quads.
+ bool raster_source_covers_visible_high_res_tiles;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698