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

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

Issue 227413011: Remove old texture path in TextureLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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.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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 virtual void Start() = 0; 88 virtual void Start() = 0;
89 virtual void Stop() = 0; // Must be called before deleting the proxy. 89 virtual void Stop() = 0; // Must be called before deleting the proxy.
90 90
91 // Forces 3D commands on all contexts to wait for all previous SwapBuffers 91 // Forces 3D commands on all contexts to wait for all previous SwapBuffers
92 // to finish before executing in the GPU process. 92 // to finish before executing in the GPU process.
93 virtual void ForceSerializeOnSwapBuffers() = 0; 93 virtual void ForceSerializeOnSwapBuffers() = 0;
94 94
95 // Maximum number of sub-region texture updates supported for each commit. 95 // Maximum number of sub-region texture updates supported for each commit.
96 virtual size_t MaxPartialTextureUpdates() const = 0; 96 virtual size_t MaxPartialTextureUpdates() const = 0;
97 97
98 virtual void AcquireLayerTextures() = 0;
99
100 virtual scoped_ptr<base::Value> AsValue() const = 0; 98 virtual scoped_ptr<base::Value> AsValue() const = 0;
101 99
102 virtual void SetDebugState(const LayerTreeDebugState& debug_state) = 0; 100 virtual void SetDebugState(const LayerTreeDebugState& debug_state) = 0;
103 101
104 // Testing hooks 102 // Testing hooks
105 virtual bool CommitPendingForTesting() = 0; 103 virtual bool CommitPendingForTesting() = 0;
106 virtual scoped_ptr<base::Value> SchedulerStateAsValueForTesting(); 104 virtual scoped_ptr<base::Value> SchedulerStateAsValueForTesting();
107 105
108 protected: 106 protected:
109 explicit Proxy( 107 explicit Proxy(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 142 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
145 ~DebugScopedSetMainThreadBlocked() {} 143 ~DebugScopedSetMainThreadBlocked() {}
146 private: 144 private:
147 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 145 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
148 }; 146 };
149 #endif 147 #endif
150 148
151 } // namespace cc 149 } // namespace cc
152 150
153 #endif // CC_TREES_PROXY_H_ 151 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698