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

Unified Diff: trunk/src/cc/trees/thread_proxy.h

Issue 141833002: Revert 245445 "Unifies LayerTreeHost::SetNeedsUpdateLayers and S..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 | « trunk/src/cc/trees/single_thread_proxy.cc ('k') | trunk/src/cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/trees/thread_proxy.h
===================================================================
--- trunk/src/cc/trees/thread_proxy.h (revision 245527)
+++ trunk/src/cc/trees/thread_proxy.h (working copy)
@@ -49,6 +49,7 @@
virtual void SetVisible(bool visible) OVERRIDE;
virtual void CreateAndInitializeOutputSurface() OVERRIDE;
virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE;
+ virtual void SetNeedsAnimate() OVERRIDE;
virtual void SetNeedsUpdateLayers() OVERRIDE;
virtual void SetNeedsCommit() OVERRIDE;
virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) OVERRIDE;
@@ -203,11 +204,11 @@
// Accessed on main thread only.
- // Set only when SetNeedsUpdateLayers is called.
- bool update_requested_;
+ // Set only when SetNeedsAnimate is called.
+ bool animate_requested_;
// Set only when SetNeedsCommit is called.
bool commit_requested_;
- // Set by both SetNeedsUpdateLayers and SetNeedsCommit.
+ // Set by SetNeedsAnimate, SetNeedsUpdateLayers, and SetNeedsCommit.
bool commit_request_sent_to_impl_thread_;
// Set by BeginMainFrame
bool created_offscreen_context_provider_;
« no previous file with comments | « trunk/src/cc/trees/single_thread_proxy.cc ('k') | trunk/src/cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698