| 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 "cc/tiled_layer_impl.h" | 5 #include "cc/tiled_layer_impl.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "cc/append_quads_data.h" | 9 #include "cc/append_quads_data.h" |
| 10 #include "cc/base/math_util.h" |
| 10 #include "cc/checkerboard_draw_quad.h" | 11 #include "cc/checkerboard_draw_quad.h" |
| 11 #include "cc/debug_border_draw_quad.h" | 12 #include "cc/debug_border_draw_quad.h" |
| 12 #include "cc/debug_colors.h" | 13 #include "cc/debug_colors.h" |
| 13 #include "cc/layer_tiling_data.h" | 14 #include "cc/layer_tiling_data.h" |
| 14 #include "cc/math_util.h" | |
| 15 #include "cc/quad_sink.h" | 15 #include "cc/quad_sink.h" |
| 16 #include "cc/solid_color_draw_quad.h" | 16 #include "cc/solid_color_draw_quad.h" |
| 17 #include "cc/tile_draw_quad.h" | 17 #include "cc/tile_draw_quad.h" |
| 18 #include "third_party/khronos/GLES2/gl2.h" | 18 #include "third_party/khronos/GLES2/gl2.h" |
| 19 #include "third_party/skia/include/core/SkColor.h" | 19 #include "third_party/skia/include/core/SkColor.h" |
| 20 #include "ui/gfx/quad_f.h" | 20 #include "ui/gfx/quad_f.h" |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 | 23 |
| 24 // Temporary diagnostic. | 24 // Temporary diagnostic. |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 m_tiler->reset(); | 275 m_tiler->reset(); |
| 276 safeToDeleteDrawableTile = false; | 276 safeToDeleteDrawableTile = false; |
| 277 } | 277 } |
| 278 | 278 |
| 279 const char* TiledLayerImpl::LayerTypeAsString() const | 279 const char* TiledLayerImpl::LayerTypeAsString() const |
| 280 { | 280 { |
| 281 return "ContentLayer"; | 281 return "ContentLayer"; |
| 282 } | 282 } |
| 283 | 283 |
| 284 } // namespace cc | 284 } // namespace cc |
| OLD | NEW |