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

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

Issue 279013002: Remove CompositeAndReadback from LayerTreeHost(Impl) and the Proxys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-cnr-lth-proxy-renderer: rebase-on-drawresult Created 6 years, 7 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_damage.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 29 matching lines...) Expand all
40 bool IsMainThread() const; 40 bool IsMainThread() const;
41 bool IsImplThread() const; 41 bool IsImplThread() const;
42 bool IsMainThreadBlocked() const; 42 bool IsMainThreadBlocked() const;
43 #if DCHECK_IS_ON 43 #if DCHECK_IS_ON
44 void SetMainThreadBlocked(bool is_main_thread_blocked); 44 void SetMainThreadBlocked(bool is_main_thread_blocked);
45 void SetCurrentThreadIsImplThread(bool is_impl_thread); 45 void SetCurrentThreadIsImplThread(bool is_impl_thread);
46 #endif 46 #endif
47 47
48 virtual ~Proxy(); 48 virtual ~Proxy();
49 49
50 virtual bool CompositeAndReadback(void* pixels, const gfx::Rect& rect) = 0;
51
52 virtual void FinishAllRendering() = 0; 50 virtual void FinishAllRendering() = 0;
53 51
54 virtual bool IsStarted() const = 0; 52 virtual bool IsStarted() const = 0;
55 53
56 // Indicates that the compositing surface associated with our context is 54 // Indicates that the compositing surface associated with our context is
57 // ready to use. 55 // ready to use.
58 virtual void SetLayerTreeHostClientReady() = 0; 56 virtual void SetLayerTreeHostClientReady() = 0;
59 57
60 virtual void SetVisible(bool visible) = 0; 58 virtual void SetVisible(bool visible) = 0;
61 59
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {} 140 explicit DebugScopedSetMainThreadBlocked(Proxy* proxy) {}
143 ~DebugScopedSetMainThreadBlocked() {} 141 ~DebugScopedSetMainThreadBlocked() {}
144 private: 142 private:
145 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked); 143 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetMainThreadBlocked);
146 }; 144 };
147 #endif 145 #endif
148 146
149 } // namespace cc 147 } // namespace cc
150 148
151 #endif // CC_TREES_PROXY_H_ 149 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698