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