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

Side by Side Diff: cc/CCLayerTreeHostImpl.h

Issue 10914304: Add average commit time to perf tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix bug with texture_upload_benchmark.py Created 8 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
« no previous file with comments | « cc/CCLayerTreeHost.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('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 CCLayerTreeHostImpl_h 5 #ifndef CCLayerTreeHostImpl_h
6 #define CCLayerTreeHostImpl_h 6 #define CCLayerTreeHostImpl_h
7 7
8 #include "CCAnimationEvents.h" 8 #include "CCAnimationEvents.h"
9 #include "CCInputHandler.h" 9 #include "CCInputHandler.h"
10 #include "CCLayerSorter.h" 10 #include "CCLayerSorter.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void setBackgroundColor(SkColor color) { m_backgroundColor = color; } 163 void setBackgroundColor(SkColor color) { m_backgroundColor = color; }
164 164
165 bool hasTransparentBackground() const { return m_hasTransparentBackground; } 165 bool hasTransparentBackground() const { return m_hasTransparentBackground; }
166 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 166 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
167 167
168 bool needsAnimateLayers() const { return m_needsAnimateLayers; } 168 bool needsAnimateLayers() const { return m_needsAnimateLayers; }
169 void setNeedsAnimateLayers() { m_needsAnimateLayers = true; } 169 void setNeedsAnimateLayers() { m_needsAnimateLayers = true; }
170 170
171 void setNeedsRedraw(); 171 void setNeedsRedraw();
172 172
173 void renderingStats(CCRenderingStats&) const; 173 void renderingStats(CCRenderingStats*) const;
174 174
175 CCFrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); } 175 CCFrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); }
176 CCDebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get (); } 176 CCDebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get (); }
177 CCResourceProvider* resourceProvider() const { return m_resourceProvider.get (); } 177 CCResourceProvider* resourceProvider() const { return m_resourceProvider.get (); }
178 178
179 class CullRenderPassesWithCachedTextures { 179 class CullRenderPassesWithCachedTextures {
180 public: 180 public:
181 bool shouldRemoveRenderPass(const CCRenderPassDrawQuad&, const FrameData &) const; 181 bool shouldRemoveRenderPass(const CCRenderPassDrawQuad&, const FrameData &) const;
182 182
183 // Iterates from the root first, in order to remove the surfaces closest 183 // Iterates from the root first, in order to remove the surfaces closest
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // rendering and input event hit testing. 291 // rendering and input event hit testing.
292 CCLayerList m_renderSurfaceLayerList; 292 CCLayerList m_renderSurfaceLayerList;
293 293
294 OwnPtr<CCFrameRateCounter> m_fpsCounter; 294 OwnPtr<CCFrameRateCounter> m_fpsCounter;
295 OwnPtr<CCDebugRectHistory> m_debugRectHistory; 295 OwnPtr<CCDebugRectHistory> m_debugRectHistory;
296 }; 296 };
297 297
298 }; 298 };
299 299
300 #endif 300 #endif
OLDNEW
« no previous file with comments | « cc/CCLayerTreeHost.cpp ('k') | cc/CCLayerTreeHostImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698