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

Side by Side Diff: cc/overdraw_metrics.cc

Issue 11225040: cc: Remove CC*.h temporary includes, part 5/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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 | Annotate | Revision Log
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/quad_culler.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/overdraw_metrics.h" 7 #include "cc/overdraw_metrics.h"
8 8
9 #include "CCLayerTreeHost.h"
10 #include "FloatQuad.h" 9 #include "FloatQuad.h"
11 #include "IntRect.h" 10 #include "IntRect.h"
12 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
13 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "cc/layer_tree_host.h"
14 #include "cc/layer_tree_host_impl.h" 14 #include "cc/layer_tree_host_impl.h"
15 #include "cc/math_util.h" 15 #include "cc/math_util.h"
16 #include <public/WebTransformationMatrix.h> 16 #include <public/WebTransformationMatrix.h>
17 17
18 using WebKit::WebTransformationMatrix; 18 using WebKit::WebTransformationMatrix;
19 19
20 namespace cc { 20 namespace cc {
21 21
22 CCOverdrawMetrics::CCOverdrawMetrics(bool recordMetricsForFrame) 22 CCOverdrawMetrics::CCOverdrawMetrics(bool recordMetricsForFrame)
23 : m_recordMetricsForFrame(recordMetricsForFrame) 23 : m_recordMetricsForFrame(recordMetricsForFrame)
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 { 177 {
178 // This must be in a different scope than the TRACE_EVENTs above. 178 // This must be in a different scope than the TRACE_EVENTs above.
179 TRACE_EVENT2("cc", "CCOverdrawPaintMetrics", "ContentsTextureBytes", m_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureU seBytes); 179 TRACE_EVENT2("cc", "CCOverdrawPaintMetrics", "ContentsTextureBytes", m_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureU seBytes);
180 } 180 }
181 break; 181 break;
182 } 182 }
183 } 183 }
184 } 184 }
185 185
186 } // namespace cc 186 } // namespace cc
OLDNEW
« no previous file with comments | « cc/occlusion_tracker_unittest.cc ('k') | cc/quad_culler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698