| 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" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCOverdrawMetrics.h" | 7 #include "CCOverdrawMetrics.h" |
| 8 | 8 |
| 9 #include "CCLayerTreeHost.h" | 9 #include "CCLayerTreeHost.h" |
| 10 #include "CCLayerTreeHostImpl.h" | 10 #include "CCLayerTreeHostImpl.h" |
| 11 #include "CCMathUtil.h" | 11 #include "cc/math_util.h" |
| 12 #include "FloatQuad.h" | 12 #include "FloatQuad.h" |
| 13 #include "IntRect.h" | 13 #include "IntRect.h" |
| 14 #include "TraceEvent.h" | 14 #include "TraceEvent.h" |
| 15 #include <public/Platform.h> | 15 #include <public/Platform.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 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 } | 177 } |
| 178 { | 178 { |
| 179 // This must be in a different scope than the TRACE_EVENTs above. | 179 // This must be in a different scope than the TRACE_EVENTs above. |
| 180 TRACE_EVENT2("cc", "CCOverdrawPaintMetrics", "ContentsTextureBytes",
m_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureU
seBytes); | 180 TRACE_EVENT2("cc", "CCOverdrawPaintMetrics", "ContentsTextureBytes",
m_contentsTextureUseBytes, "RenderSurfaceTextureBytes", m_renderSurfaceTextureU
seBytes); |
| 181 } | 181 } |
| 182 break; | 182 break; |
| 183 } | 183 } |
| 184 } | 184 } |
| 185 | 185 |
| 186 } // namespace cc | 186 } // namespace cc |
| OLD | NEW |