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.h" | 5 #include "cc/debug/rasterize_and_record_benchmark.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <limits> | 10 #include <limits> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/basictypes.h" | |
12 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "cc/debug/lap_timer.h" | 15 #include "cc/debug/lap_timer.h" |
15 #include "cc/debug/rasterize_and_record_benchmark_impl.h" | 16 #include "cc/debug/rasterize_and_record_benchmark_impl.h" |
16 #include "cc/layers/content_layer_client.h" | 17 #include "cc/layers/content_layer_client.h" |
17 #include "cc/layers/layer.h" | 18 #include "cc/layers/layer.h" |
18 #include "cc/layers/picture_layer.h" | 19 #include "cc/layers/picture_layer.h" |
19 #include "cc/playback/display_item_list.h" | 20 #include "cc/playback/display_item_list.h" |
20 #include "cc/playback/display_list_recording_source.h" | 21 #include "cc/playback/display_list_recording_source.h" |
21 #include "cc/trees/layer_tree_host.h" | 22 #include "cc/trees/layer_tree_host.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 } | 187 } |
187 } | 188 } |
188 | 189 |
189 RasterizeAndRecordBenchmark::RecordResults::RecordResults() | 190 RasterizeAndRecordBenchmark::RecordResults::RecordResults() |
190 : pixels_recorded(0), bytes_used(0) { | 191 : pixels_recorded(0), bytes_used(0) { |
191 } | 192 } |
192 | 193 |
193 RasterizeAndRecordBenchmark::RecordResults::~RecordResults() {} | 194 RasterizeAndRecordBenchmark::RecordResults::~RecordResults() {} |
194 | 195 |
195 } // namespace cc | 196 } // namespace cc |
OLD | NEW |