OLD | NEW |
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" | |
6 | |
7 #include "cc/overdraw_metrics.h" | 5 #include "cc/overdraw_metrics.h" |
8 | 6 |
9 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
10 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
11 #include "cc/layer_tree_host.h" | 9 #include "cc/layer_tree_host.h" |
12 #include "cc/layer_tree_host_impl.h" | 10 #include "cc/layer_tree_host_impl.h" |
13 #include "cc/math_util.h" | 11 #include "cc/math_util.h" |
14 #include "ui/gfx/quad_f.h" | 12 #include "ui/gfx/quad_f.h" |
15 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
16 #include <public/WebTransformationMatrix.h> | 14 #include <public/WebTransformationMatrix.h> |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 { | 153 { |
156 // This must be in a different scope than the TRACE_EVENTs above. | 154 // This must be in a different scope than the TRACE_EVENTs above. |
157 TRACE_EVENT2("cc", "OverdrawPaintMetrics", "ContentsTextureBytes", m
_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureUse
Bytes); | 155 TRACE_EVENT2("cc", "OverdrawPaintMetrics", "ContentsTextureBytes", m
_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureUse
Bytes); |
158 } | 156 } |
159 break; | 157 break; |
160 } | 158 } |
161 } | 159 } |
162 } | 160 } |
163 | 161 |
164 } // namespace cc | 162 } // namespace cc |
OLD | NEW |