| 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_IMPL_H_ | 5 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ |
| 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ | 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "cc/debug/micro_benchmark_impl.h" | 14 #include "cc/debug/micro_benchmark_impl.h" |
| 15 #include "cc/resources/task_graph_runner.h" | 15 #include "cc/raster/task_graph_runner.h" |
| 16 | 16 |
| 17 namespace cc { | 17 namespace cc { |
| 18 | 18 |
| 19 class LayerTreeHostImpl; | 19 class LayerTreeHostImpl; |
| 20 class PictureLayerImpl; | 20 class PictureLayerImpl; |
| 21 class LayerImpl; | 21 class LayerImpl; |
| 22 class RasterizeAndRecordBenchmarkImpl : public MicroBenchmarkImpl { | 22 class RasterizeAndRecordBenchmarkImpl : public MicroBenchmarkImpl { |
| 23 public: | 23 public: |
| 24 explicit RasterizeAndRecordBenchmarkImpl( | 24 explicit RasterizeAndRecordBenchmarkImpl( |
| 25 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner, | 25 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 47 int total_picture_layers_off_screen; | 47 int total_picture_layers_off_screen; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 RasterizeResults rasterize_results_; | 50 RasterizeResults rasterize_results_; |
| 51 int rasterize_repeat_count_; | 51 int rasterize_repeat_count_; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace cc | 54 } // namespace cc |
| 55 | 55 |
| 56 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ | 56 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ |
| OLD | NEW |