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

Unified Diff: cc/tile_priority.h

Issue 12287027: cc: Compute the inflated rect to cover a fixed number of tiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved constant Created 7 years, 10 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
Index: cc/tile_priority.h
diff --git a/cc/tile_priority.h b/cc/tile_priority.h
index 7e03c927a2302821c5264e57bedcc14989510098..ea23df4e95b92c5faec9e2e261ed8cce8f9e80aa 100644
--- a/cc/tile_priority.h
+++ b/cc/tile_priority.h
@@ -96,6 +96,7 @@ struct CC_EXPORT TilePriority {
scoped_ptr<base::Value> AsValue() const;
static const float kMaxDistanceInContentSpace;
+ static const int64 kNumTilesToCoverWithInflatedViewportRectForPrioritization;
static inline float manhattanDistance(const gfx::RectF& a, const gfx::RectF& b) {
// Compute the union explicitly.

Powered by Google App Engine
This is Rietveld 408576698