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

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

Issue 1296673004: Devtools/CC: Remove continuous repainting feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/layer_tree_impl.cc ('k') | cc/trees/single_thread_proxy.h » ('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_PROXY_H_ 5 #ifndef CC_TREES_PROXY_H_
6 #define CC_TREES_PROXY_H_ 6 #define CC_TREES_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Must be called before using the proxy. 92 // Must be called before using the proxy.
93 virtual void Start() = 0; 93 virtual void Start() = 0;
94 virtual void Stop() = 0; // Must be called before deleting the proxy. 94 virtual void Stop() = 0; // Must be called before deleting the proxy.
95 95
96 // Forces 3D commands on all contexts to wait for all previous SwapBuffers 96 // Forces 3D commands on all contexts to wait for all previous SwapBuffers
97 // to finish before executing in the GPU process. 97 // to finish before executing in the GPU process.
98 virtual void ForceSerializeOnSwapBuffers() = 0; 98 virtual void ForceSerializeOnSwapBuffers() = 0;
99 99
100 virtual bool SupportsImplScrolling() const = 0; 100 virtual bool SupportsImplScrolling() const = 0;
101 101
102 virtual void SetDebugState(const LayerTreeDebugState& debug_state) = 0;
103
104 virtual void SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0; 102 virtual void SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0;
105 103
106 virtual void SetAuthoritativeVSyncInterval( 104 virtual void SetAuthoritativeVSyncInterval(
107 const base::TimeDelta& interval) = 0; 105 const base::TimeDelta& interval) = 0;
108 106
109 // Testing hooks 107 // Testing hooks
110 virtual bool MainFrameWillHappenForTesting() = 0; 108 virtual bool MainFrameWillHappenForTesting() = 0;
111 109
112 BlockingTaskRunner* blocking_main_thread_task_runner() const { 110 BlockingTaskRunner* blocking_main_thread_task_runner() const {
113 return blocking_main_thread_task_runner_.get(); 111 return blocking_main_thread_task_runner_.get();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 153 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
156 ~DebugScopedSetMainThreadBlocked() {} 154 ~DebugScopedSetMainThreadBlocked() {}
157 private: 155 private:
158 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 156 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
159 }; 157 };
160 #endif 158 #endif
161 159
162 } // namespace cc 160 } // namespace cc
163 161
164 #endif // CC_TREES_PROXY_H_ 162 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698