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

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

Issue 16863005: cc: Add BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@nofrc12
Patch Set: Rebase Created 7 years, 6 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
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; 61 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
62 virtual bool CommitPendingForTesting() OVERRIDE; 62 virtual bool CommitPendingForTesting() OVERRIDE;
63 virtual std::string SchedulerStateAsStringForTesting() OVERRIDE; 63 virtual std::string SchedulerStateAsStringForTesting() OVERRIDE;
64 64
65 // LayerTreeHostImplClient implementation 65 // LayerTreeHostImplClient implementation
66 virtual void DidTryInitializeRendererOnImplThread( 66 virtual void DidTryInitializeRendererOnImplThread(
67 bool success, 67 bool success,
68 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; 68 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE;
69 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 69 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
70 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; 70 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE;
71 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time) OVERRIDE; 71 virtual void BeginFrameOnImplThread(const BeginFrameArgs& args) OVERRIDE;
72 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; 72 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE;
73 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE; 73 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE;
74 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; 74 virtual void SetNeedsRedrawOnImplThread() OVERRIDE;
75 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; 75 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE;
76 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; 76 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE;
77 virtual void SetNeedsCommitOnImplThread() OVERRIDE; 77 virtual void SetNeedsCommitOnImplThread() OVERRIDE;
78 virtual void PostAnimationEventsToMainThreadOnImplThread( 78 virtual void PostAnimationEventsToMainThreadOnImplThread(
79 scoped_ptr<AnimationEventsVector> queue, 79 scoped_ptr<AnimationEventsVector> queue,
80 base::Time wall_clock_time) OVERRIDE; 80 base::Time wall_clock_time) OVERRIDE;
81 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 81 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 bool renew_tree_priority_on_impl_thread_pending_; 246 bool renew_tree_priority_on_impl_thread_pending_;
247 247
248 RollingTimeDeltaHistory draw_duration_history_; 248 RollingTimeDeltaHistory draw_duration_history_;
249 249
250 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 250 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
251 }; 251 };
252 252
253 } // namespace cc 253 } // namespace cc
254 254
255 #endif // CC_TREES_THREAD_PROXY_H_ 255 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698