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

Side by Side Diff: cc/layer_tree_host.h

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Dont expose to extension yet Created 7 years, 10 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/layer_tree_debug_state.cc ('k') | cc/layer_tree_host.cc » ('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_LAYER_TREE_HOST_H_ 5 #ifndef CC_LAYER_TREE_HOST_H_
6 #define CC_LAYER_TREE_HOST_H_ 6 #define CC_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 HeadsUpDisplayLayer* hudLayer() const { return m_hudLayer.get(); } 193 HeadsUpDisplayLayer* hudLayer() const { return m_hudLayer.get(); }
194 194
195 Proxy* proxy() const { return m_proxy.get(); } 195 Proxy* proxy() const { return m_proxy.get(); }
196 196
197 AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar .get(); } 197 AnimationRegistrar* animationRegistrar() const { return m_animationRegistrar .get(); }
198 198
199 skia::RefPtr<SkPicture> capturePicture(); 199 skia::RefPtr<SkPicture> capturePicture();
200 200
201 bool blocksPendingCommit() const; 201 bool blocksPendingCommit() const;
202 202
203 // Obtains a thorough dump of the LayerTreeHost as a value.
204 scoped_ptr<base::Value> asValue() const;
205
203 protected: 206 protected:
204 LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&); 207 LayerTreeHost(LayerTreeHostClient*, const LayerTreeSettings&);
205 bool initialize(scoped_ptr<Thread> implThread); 208 bool initialize(scoped_ptr<Thread> implThread);
206 bool initializeForTesting(scoped_ptr<Proxy> proxyForTesting); 209 bool initializeForTesting(scoped_ptr<Proxy> proxyForTesting);
207 210
208 private: 211 private:
209 typedef std::vector<scoped_refptr<Layer> > LayerList; 212 typedef std::vector<scoped_refptr<Layer> > LayerList;
210 213
211 bool initializeProxy(scoped_ptr<Proxy> proxy); 214 bool initializeProxy(scoped_ptr<Proxy> proxy);
212 void initializeRenderer(); 215 void initializeRenderer();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 277 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
275 278
276 static bool s_needsFilterContext; 279 static bool s_needsFilterContext;
277 280
278 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 281 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
279 }; 282 };
280 283
281 } // namespace cc 284 } // namespace cc
282 285
283 #endif // CC_LAYER_TREE_HOST_H_ 286 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/layer_tree_debug_state.cc ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698