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

Unified Diff: cc/util.h

Issue 12221005: Add flag to disable impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing line 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
« no previous file with comments | « cc/switches.cc ('k') | cc/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/util.h
diff --git a/cc/util.h b/cc/util.h
index 6da3a697c4ac3396602903d7ac75d85fad4e7abd..22987044a56550c2a614a34aadd74c2a4c950c5a 100644
--- a/cc/util.h
+++ b/cc/util.h
@@ -5,6 +5,8 @@
#ifndef CC_UTIL_H_
#define CC_UTIL_H_
+#include "base/command_line.h"
+
namespace cc {
template<typename T>
@@ -13,6 +15,9 @@ T RoundUp(T n, T mul)
return ((n + mul - 1) / mul) * mul;
}
+// Returns whether or not impl-side painting is enabled.
+bool IsImplSidePaintingEnabled(const CommandLine* cl);
danakj 2013/02/05 02:23:57 Please don't read command line flags from in cc/.
+
} // namespace cc
#endif // CC_UTIL_H_
« no previous file with comments | « cc/switches.cc ('k') | cc/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698