OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/debug/rasterize_and_record_benchmark_impl.h" | 5 #include "cc/debug/rasterize_and_record_benchmark_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <limits> | 10 #include <limits> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/values.h" | 12 #include "base/values.h" |
12 #include "cc/debug/lap_timer.h" | 13 #include "cc/debug/lap_timer.h" |
13 #include "cc/layers/layer_impl.h" | 14 #include "cc/layers/layer_impl.h" |
14 #include "cc/layers/picture_layer_impl.h" | 15 #include "cc/layers/picture_layer_impl.h" |
15 #include "cc/raster/tile_task_worker_pool.h" | 16 #include "cc/raster/tile_task_worker_pool.h" |
16 #include "cc/trees/layer_tree_host_common.h" | 17 #include "cc/trees/layer_tree_host_common.h" |
17 #include "cc/trees/layer_tree_host_impl.h" | 18 #include "cc/trees/layer_tree_host_impl.h" |
18 #include "cc/trees/layer_tree_impl.h" | 19 #include "cc/trees/layer_tree_impl.h" |
19 #include "ui/gfx/geometry/rect.h" | 20 #include "ui/gfx/geometry/rect.h" |
20 | 21 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 total_memory_usage(0), | 216 total_memory_usage(0), |
216 total_layers(0), | 217 total_layers(0), |
217 total_picture_layers(0), | 218 total_picture_layers(0), |
218 total_picture_layers_with_no_content(0), | 219 total_picture_layers_with_no_content(0), |
219 total_picture_layers_off_screen(0) { | 220 total_picture_layers_off_screen(0) { |
220 } | 221 } |
221 | 222 |
222 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} | 223 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} |
223 | 224 |
224 } // namespace cc | 225 } // namespace cc |
OLD | NEW |