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 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ | 5 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ |
6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ | 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <utility> | 11 #include <utility> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "cc/debug/micro_benchmark_controller.h" | 17 #include "cc/debug/micro_benchmark_controller.h" |
16 #include "cc/playback/display_list_recording_source.h" | 18 #include "cc/playback/display_list_recording_source.h" |
17 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 bool main_thread_benchmark_done_; | 62 bool main_thread_benchmark_done_; |
61 | 63 |
62 LayerTreeHost* host_; | 64 LayerTreeHost* host_; |
63 | 65 |
64 base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_; | 66 base::WeakPtrFactory<RasterizeAndRecordBenchmark> weak_ptr_factory_; |
65 }; | 67 }; |
66 | 68 |
67 } // namespace cc | 69 } // namespace cc |
68 | 70 |
69 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ | 71 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_H_ |
OLD | NEW |