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

Unified Diff: cc/append_quads_data.h

Issue 11478016: Add a stat to the smoothness benchmark for avg number of missing tiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/layer_tree_host_impl.h » ('j') | cc/layer_tree_host_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/append_quads_data.h
diff --git a/cc/append_quads_data.h b/cc/append_quads_data.h
index 46f5a333b4b047590957630832b4b1a610cb296d..43f9a720674a5e230f3c3d1a9f1cd3a70f66bc3b 100644
--- a/cc/append_quads_data.h
+++ b/cc/append_quads_data.h
@@ -5,6 +5,7 @@
#ifndef CC_APPEND_QUADS_DATA_H_
#define CC_APPEND_QUADS_DATA_H_
+#include "base/basictypes.h"
#include "cc/render_pass.h"
namespace cc {
@@ -12,14 +13,14 @@ namespace cc {
struct AppendQuadsData {
AppendQuadsData()
: hadOcclusionFromOutsideTargetSurface(false)
- , hadMissingTiles(false)
+ , numMissingTiles(0)
, renderPassId(0, 0)
{
}
explicit AppendQuadsData(RenderPass::Id renderPassId)
: hadOcclusionFromOutsideTargetSurface(false)
- , hadMissingTiles(false)
+ , numMissingTiles(0)
, renderPassId(renderPassId)
{
}
@@ -27,7 +28,7 @@ struct AppendQuadsData {
// Set by the QuadCuller.
bool hadOcclusionFromOutsideTargetSurface;
// Set by the layer appending quads.
- bool hadMissingTiles;
+ int64 numMissingTiles;
// Given to the layer appending quads.
const RenderPass::Id renderPassId;
};
« no previous file with comments | « no previous file | cc/layer_tree_host_impl.h » ('j') | cc/layer_tree_host_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698