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

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

Issue 606113003: Revert of Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 2 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/occlusion_tracker_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 void SetMainThreadBlocked(bool is_main_thread_blocked); 50 void SetMainThreadBlocked(bool is_main_thread_blocked);
51 void SetCurrentThreadIsImplThread(bool is_impl_thread); 51 void SetCurrentThreadIsImplThread(bool is_impl_thread);
52 #endif 52 #endif
53 53
54 virtual ~Proxy(); 54 virtual ~Proxy();
55 55
56 virtual void FinishAllRendering() = 0; 56 virtual void FinishAllRendering() = 0;
57 57
58 virtual bool IsStarted() const = 0; 58 virtual bool IsStarted() const = 0;
59 59
60 // Will call LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted
61 // with the result of this function.
62 virtual void SetOutputSurface(scoped_ptr<OutputSurface> output_surface) = 0;
63
64 // Indicates that the compositing surface associated with our context is 60 // Indicates that the compositing surface associated with our context is
65 // ready to use. 61 // ready to use.
66 virtual void SetLayerTreeHostClientReady() = 0; 62 virtual void SetLayerTreeHostClientReady() = 0;
67 63
68 virtual void SetVisible(bool visible) = 0; 64 virtual void SetVisible(bool visible) = 0;
69 65
70 virtual const RendererCapabilities& GetRendererCapabilities() const = 0; 66 virtual const RendererCapabilities& GetRendererCapabilities() const = 0;
71 67
72 virtual void SetNeedsAnimate() = 0; 68 virtual void SetNeedsAnimate() = 0;
73 virtual void SetNeedsUpdateLayers() = 0; 69 virtual void SetNeedsUpdateLayers() = 0;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 149 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
154 ~DebugScopedSetMainThreadBlocked() {} 150 ~DebugScopedSetMainThreadBlocked() {}
155 private: 151 private:
156 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 152 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
157 }; 153 };
158 #endif 154 #endif
159 155
160 } // namespace cc 156 } // namespace cc
161 157
162 #endif // CC_TREES_PROXY_H_ 158 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698