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

Unified Diff: cc/layers/append_quads_data.h

Issue 364063005: Histogram to track missing and incomplete tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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/trees/layer_tree_host_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 7c6768f6630ea9480d604274c65c59de1bdfd774..6a793ace1decbd1e296ee7dfa2d7ab30e4540652 100644
--- a/cc/layers/append_quads_data.h
+++ b/cc/layers/append_quads_data.h
@@ -13,6 +13,7 @@ namespace cc {
struct AppendQuadsData {
AppendQuadsData()
: had_incomplete_tile(false),
danakj 2014/07/03 16:01:45 do we need this one anymore? Just check if num is
weiliangc 2014/07/04 21:35:52 Done.
+ num_incomplete_tiles(0),
num_missing_tiles(0),
visible_content_area(0),
approximated_visible_content_area(0),
@@ -20,6 +21,7 @@ struct AppendQuadsData {
explicit AppendQuadsData(RenderPass::Id render_pass_id)
: had_incomplete_tile(false),
+ num_incomplete_tiles(0),
num_missing_tiles(0),
visible_content_area(0),
approximated_visible_content_area(0),
@@ -28,6 +30,8 @@ struct AppendQuadsData {
// Set by the layer appending quads.
bool had_incomplete_tile;
// Set by the layer appending quads.
+ int64 num_incomplete_tiles;
+ // Set by the layer appending quads.
int64 num_missing_tiles;
// Set by the layer appending quads.
int64 visible_content_area;
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698