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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 206793003: cc: Split animating and drawing into separate actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix input handler proxy test build. Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {} 60 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {}
61 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {} 61 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {}
62 virtual void DidSwapBuffersOnImplThread() OVERRIDE; 62 virtual void DidSwapBuffersOnImplThread() OVERRIDE;
63 virtual void DidSwapBuffersCompleteOnImplThread() OVERRIDE; 63 virtual void DidSwapBuffersCompleteOnImplThread() OVERRIDE;
64 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {} 64 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE {}
65 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; 65 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE;
66 virtual void NotifyReadyToActivate() OVERRIDE; 66 virtual void NotifyReadyToActivate() OVERRIDE;
67 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; 67 virtual void SetNeedsRedrawOnImplThread() OVERRIDE;
68 virtual void SetNeedsRedrawRectOnImplThread( 68 virtual void SetNeedsRedrawRectOnImplThread(
69 const gfx::Rect& dirty_rect) OVERRIDE; 69 const gfx::Rect& dirty_rect) OVERRIDE;
70 virtual void SetNeedsAnimateOnImplThread() OVERRIDE;
70 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; 71 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE;
71 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; 72 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE;
72 virtual void SetNeedsCommitOnImplThread() OVERRIDE; 73 virtual void SetNeedsCommitOnImplThread() OVERRIDE;
73 virtual void PostAnimationEventsToMainThreadOnImplThread( 74 virtual void PostAnimationEventsToMainThreadOnImplThread(
74 scoped_ptr<AnimationEventsVector> events) OVERRIDE; 75 scoped_ptr<AnimationEventsVector> events) OVERRIDE;
75 virtual bool ReduceContentsTextureMemoryOnImplThread( 76 virtual bool ReduceContentsTextureMemoryOnImplThread(
76 size_t limit_bytes, 77 size_t limit_bytes,
77 int priority_cutoff) OVERRIDE; 78 int priority_cutoff) OVERRIDE;
78 virtual void SendManagedMemoryStats() OVERRIDE; 79 virtual void SendManagedMemoryStats() OVERRIDE;
79 virtual bool IsInsideDraw() OVERRIDE; 80 virtual bool IsInsideDraw() OVERRIDE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 private: 179 private:
179 DebugScopedSetImplThread impl_thread_; 180 DebugScopedSetImplThread impl_thread_;
180 DebugScopedSetMainThreadBlocked main_thread_blocked_; 181 DebugScopedSetMainThreadBlocked main_thread_blocked_;
181 182
182 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 183 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
183 }; 184 };
184 185
185 } // namespace cc 186 } // namespace cc
186 187
187 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 188 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698