| OLD | NEW |
| 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCTiledLayerImpl.h" | 7 #include "cc/tiled_layer_impl.h" |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "CCAppendQuadsData.h" | 11 #include "CCAppendQuadsData.h" |
| 12 #include "CCCheckerboardDrawQuad.h" | 12 #include "CCCheckerboardDrawQuad.h" |
| 13 #include "CCDebugBorderDrawQuad.h" | 13 #include "CCDebugBorderDrawQuad.h" |
| 14 #include "CCLayerTilingData.h" | 14 #include "CCLayerTilingData.h" |
| 15 #include "CCMathUtil.h" | 15 #include "cc/math_util.h" |
| 16 #include "CCQuadSink.h" | 16 #include "CCQuadSink.h" |
| 17 #include "CCSolidColorDrawQuad.h" | 17 #include "CCSolidColorDrawQuad.h" |
| 18 #include "CCTileDrawQuad.h" | 18 #include "cc/tile_draw_quad.h" |
| 19 #include "FloatQuad.h" | 19 #include "FloatQuad.h" |
| 20 #include "GraphicsContext3D.h" | 20 #include "GraphicsContext3D.h" |
| 21 #include "third_party/skia/include/core/SkColor.h" | 21 #include "third_party/skia/include/core/SkColor.h" |
| 22 | 22 |
| 23 using namespace std; | 23 using namespace std; |
| 24 using WebKit::WebTransformationMatrix; | 24 using WebKit::WebTransformationMatrix; |
| 25 | 25 |
| 26 namespace cc { | 26 namespace cc { |
| 27 | 27 |
| 28 static const int debugTileBorderWidth = 1; | 28 static const int debugTileBorderWidth = 1; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 { | 240 { |
| 241 m_tiler->reset(); | 241 m_tiler->reset(); |
| 242 } | 242 } |
| 243 | 243 |
| 244 const char* CCTiledLayerImpl::layerTypeAsString() const | 244 const char* CCTiledLayerImpl::layerTypeAsString() const |
| 245 { | 245 { |
| 246 return "ContentLayer"; | 246 return "ContentLayer"; |
| 247 } | 247 } |
| 248 | 248 |
| 249 } // namespace cc | 249 } // namespace cc |
| OLD | NEW |