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

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

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens 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_host_client.h ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 virtual void MainThreadHasStoppedFlinging() = 0; 89 virtual void MainThreadHasStoppedFlinging() = 0;
90 90
91 virtual bool CommitRequested() const = 0; 91 virtual bool CommitRequested() const = 0;
92 virtual bool BeginMainFrameRequested() const = 0; 92 virtual bool BeginMainFrameRequested() const = 0;
93 93
94 // Must be called before using the proxy. 94 // Must be called before using the proxy.
95 virtual void Start() = 0; 95 virtual void Start() = 0;
96 virtual void Stop() = 0; // Must be called before deleting the proxy. 96 virtual void Stop() = 0; // Must be called before deleting the proxy.
97 97
98 // Forces 3D commands on all contexts to wait for all previous SwapBuffers
99 // to finish before executing in the GPU process.
100 virtual void ForceSerializeOnSwapBuffers() = 0;
101
102 virtual bool SupportsImplScrolling() const = 0; 98 virtual bool SupportsImplScrolling() const = 0;
103 99
104 virtual void SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0; 100 virtual void SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0;
105 101
106 virtual void SetAuthoritativeVSyncInterval( 102 virtual void SetAuthoritativeVSyncInterval(
107 const base::TimeDelta& interval) = 0; 103 const base::TimeDelta& interval) = 0;
108 104
109 // Testing hooks 105 // Testing hooks
110 virtual bool MainFrameWillHappenForTesting() = 0; 106 virtual bool MainFrameWillHappenForTesting() = 0;
111 107
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 151 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
156 ~DebugScopedSetMainThreadBlocked() {} 152 ~DebugScopedSetMainThreadBlocked() {}
157 private: 153 private:
158 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 154 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
159 }; 155 };
160 #endif 156 #endif
161 157
162 } // namespace cc 158 } // namespace cc
163 159
164 #endif // CC_TREES_PROXY_H_ 160 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698