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

Side by Side Diff: cc/thread_proxy.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using WebLayerTreeSettings for things WebKit can set Created 8 years, 1 month 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
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_THREAD_PROXY_H_ 5 #ifndef CC_THREAD_PROXY_H_
6 #define CC_THREAD_PROXY_H_ 6 #define CC_THREAD_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "cc/animation_events.h" 10 #include "cc/animation_events.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void sendManagedMemoryStats() OVERRIDE; 66 virtual void sendManagedMemoryStats() OVERRIDE;
67 67
68 // SchedulerClient implementation 68 // SchedulerClient implementation
69 virtual void scheduledActionBeginFrame() OVERRIDE; 69 virtual void scheduledActionBeginFrame() OVERRIDE;
70 virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossibl e() OVERRIDE; 70 virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossibl e() OVERRIDE;
71 virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapForced() OVERRIDE; 71 virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapForced() OVERRIDE;
72 virtual void scheduledActionCommit() OVERRIDE; 72 virtual void scheduledActionCommit() OVERRIDE;
73 virtual void scheduledActionBeginContextRecreation() OVERRIDE; 73 virtual void scheduledActionBeginContextRecreation() OVERRIDE;
74 virtual void scheduledActionAcquireLayerTexturesForMainThread() OVERRIDE; 74 virtual void scheduledActionAcquireLayerTexturesForMainThread() OVERRIDE;
75 virtual void didAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE; 75 virtual void didAnticipatedDrawTimeChange(base::TimeTicks) OVERRIDE;
76 virtual const LayerTreeSettings& settings() const OVERRIDE;
76 77
77 // ResourceUpdateControllerClient implementation 78 // ResourceUpdateControllerClient implementation
78 virtual void readyToFinalizeTextureUpdates() OVERRIDE; 79 virtual void readyToFinalizeTextureUpdates() OVERRIDE;
79 80
80 private: 81 private:
81 ThreadProxy(LayerTreeHost*, scoped_ptr<Thread> implThread); 82 ThreadProxy(LayerTreeHost*, scoped_ptr<Thread> implThread);
82 83
83 // Set on impl thread, read on main thread. 84 // Set on impl thread, read on main thread.
84 struct BeginFrameAndCommitState { 85 struct BeginFrameAndCommitState {
85 BeginFrameAndCommitState(); 86 BeginFrameAndCommitState();
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 base::TimeDelta m_totalCommitTime; 176 base::TimeDelta m_totalCommitTime;
176 size_t m_totalCommitCount; 177 size_t m_totalCommitCount;
177 178
178 bool m_deferCommits; 179 bool m_deferCommits;
179 bool m_deferredCommitPending; 180 bool m_deferredCommitPending;
180 }; 181 };
181 182
182 } // namespace cc 183 } // namespace cc
183 184
184 #endif // CC_THREAD_PROXY_H_ 185 #endif // CC_THREAD_PROXY_H_
OLDNEW
« cc/layer_tree_host.cc ('K') | « cc/test/test_common.h ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698