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; |