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

Unified Diff: cc/resource_update_controller.cc

Issue 11347022: cc: Reduce number of partial resource updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep desktop at 12 Created 8 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resource_update_controller.cc
diff --git a/cc/resource_update_controller.cc b/cc/resource_update_controller.cc
index 10c3b4db849bd602d1d50685618ea512b775b813..f60b8ec8da1586ac46596ae9215a44bc80f97f5e 100644
--- a/cc/resource_update_controller.cc
+++ b/cc/resource_update_controller.cc
@@ -24,7 +24,11 @@ using WebKit::WebSharedGraphicsContext3D;
namespace {
// Number of partial updates we allow.
+#if defined(OS_ANDROID)
+const size_t partialTextureUpdatesMax = 0;
+#else
const size_t partialTextureUpdatesMax = 12;
+#endif
// Measured in seconds.
const double textureUpdateTickRate = 0.004;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698