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

Unified Diff: cc/proxy.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. Created 8 years, 2 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/layer_tree_host_unittest.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proxy.h
diff --git a/cc/proxy.h b/cc/proxy.h
index daddadeeb10ed45e697faa59f50b8cc283dccd5d..f3edbaaa74b9e122b3b55c8fe035fa33cfebb549 100644
--- a/cc/proxy.h
+++ b/cc/proxy.h
@@ -65,6 +65,10 @@ public:
virtual void setNeedsCommit() = 0;
virtual void setNeedsRedraw() = 0;
+ // Defers commits until it is reset. It is only supported when in threaded mode. It's an error to make a sync call
+ // like compositeAndReadback while commits are deferred.
+ virtual void setDeferCommits(bool) = 0;
+
virtual void didAddAnimation() = 0;
virtual bool commitRequested() const = 0;
« no previous file with comments | « cc/layer_tree_host_unittest.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698