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 "base/debug/trace_event.h" | 5 #include "base/debug/trace_event.h" |
| 6 #include "cc/base/region.h" |
6 #include "cc/debug_colors.h" | 7 #include "cc/debug_colors.h" |
7 #include "cc/picture_pile_impl.h" | 8 #include "cc/picture_pile_impl.h" |
8 #include "cc/region.h" | |
9 #include "cc/rendering_stats.h" | 9 #include "cc/rendering_stats.h" |
10 #include "skia/ext/analysis_canvas.h" | 10 #include "skia/ext/analysis_canvas.h" |
11 #include "third_party/skia/include/core/SkCanvas.h" | 11 #include "third_party/skia/include/core/SkCanvas.h" |
12 #include "third_party/skia/include/core/SkSize.h" | 12 #include "third_party/skia/include/core/SkSize.h" |
13 #include "ui/gfx/rect_conversions.h" | 13 #include "ui/gfx/rect_conversions.h" |
14 #include "ui/gfx/size_conversions.h" | 14 #include "ui/gfx/size_conversions.h" |
15 #include "ui/gfx/skia_util.h" | 15 #include "ui/gfx/skia_util.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 analysis->is_cheap_to_raster = canvas.isCheap(); | 240 analysis->is_cheap_to_raster = canvas.isCheap(); |
241 } | 241 } |
242 | 242 |
243 PicturePileImpl::Analysis::Analysis() : | 243 PicturePileImpl::Analysis::Analysis() : |
244 is_solid_color(false), | 244 is_solid_color(false), |
245 is_transparent(false), | 245 is_transparent(false), |
246 is_cheap_to_raster(false) { | 246 is_cheap_to_raster(false) { |
247 } | 247 } |
248 | 248 |
249 } // namespace cc | 249 } // namespace cc |
OLD | NEW |