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

Unified Diff: cc/thread_proxy.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Defer commits and rebase. 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
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 086855bbf53eca3876ea9abdb63ea5d27908f994..e55e1aa2081a8dbc6982a5ac961e3371d040a67d 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -45,6 +45,7 @@ public:
virtual void setNeedsAnimate() OVERRIDE;
virtual void setNeedsCommit() OVERRIDE;
virtual void setNeedsRedraw() OVERRIDE;
+ virtual void setDeferCommits(bool) OVERRIDE;
virtual bool commitRequested() const OVERRIDE;
virtual void didAddAnimation() OVERRIDE { }
virtual void start() OVERRIDE;
@@ -91,6 +92,7 @@ private:
size_t memoryAllocationLimitBytes;
};
scoped_ptr<BeginFrameAndCommitState> m_pendingBeginFrameRequest;
+ scoped_ptr<BeginFrameAndCommitState> m_deferredBeginFrameRequest;
jamesr 2012/10/23 17:50:44 This is unnecessary. If commits are deferred, wha
jonathan.backer 2012/10/23 19:26:42 Done.
// Called on main thread
void beginFrame();

Powered by Google App Engine
This is Rietveld 408576698