| 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 <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "cc/debug/lap_timer.h" | 12 #include "cc/debug/lap_timer.h" |
| 13 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
| 14 #include "cc/layers/picture_layer_impl.h" | 14 #include "cc/layers/picture_layer_impl.h" |
| 15 #include "cc/resources/tile_task_worker_pool.h" | 15 #include "cc/raster/tile_task_worker_pool.h" |
| 16 #include "cc/trees/layer_tree_host_common.h" | 16 #include "cc/trees/layer_tree_host_common.h" |
| 17 #include "cc/trees/layer_tree_host_impl.h" | 17 #include "cc/trees/layer_tree_host_impl.h" |
| 18 #include "cc/trees/layer_tree_impl.h" | 18 #include "cc/trees/layer_tree_impl.h" |
| 19 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
| 20 | 20 |
| 21 namespace cc { | 21 namespace cc { |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 const int kDefaultRasterizeRepeatCount = 100; | 25 const int kDefaultRasterizeRepeatCount = 100; |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 total_memory_usage(0), | 216 total_memory_usage(0), |
| 217 total_layers(0), | 217 total_layers(0), |
| 218 total_picture_layers(0), | 218 total_picture_layers(0), |
| 219 total_picture_layers_with_no_content(0), | 219 total_picture_layers_with_no_content(0), |
| 220 total_picture_layers_off_screen(0) { | 220 total_picture_layers_off_screen(0) { |
| 221 } | 221 } |
| 222 | 222 |
| 223 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} | 223 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} |
| 224 | 224 |
| 225 } // namespace cc | 225 } // namespace cc |
| OLD | NEW |