OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/renderer/all_rendering_benchmarks.h" | 5 #include "content/renderer/all_rendering_benchmarks.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/time.h" | 15 #include "base/time/time.h" |
16 #include "content/renderer/rendering_benchmark.h" | 16 #include "content/renderer/rendering_benchmark.h" |
17 #include "skia/ext/platform_canvas.h" | 17 #include "skia/ext/platform_canvas.h" |
18 #include "third_party/skia/include/core/SkPicture.h" | 18 #include "third_party/skia/include/core/SkPicture.h" |
19 #include "third_party/skia/include/utils/SkNullCanvas.h" | 19 #include "third_party/skia/include/utils/SkNullCanvas.h" |
20 #include "third_party/WebKit/public/platform/WebRect.h" | 20 #include "third_party/WebKit/public/platform/WebRect.h" |
21 #include "third_party/WebKit/public/platform/WebSize.h" | 21 #include "third_party/WebKit/public/platform/WebSize.h" |
22 #include "third_party/WebKit/public/web/WebViewBenchmarkSupport.h" | 22 #include "third_party/WebKit/public/web/WebViewBenchmarkSupport.h" |
23 | 23 |
24 using base::TimeDelta; | 24 using base::TimeDelta; |
25 using base::TimeTicks; | 25 using base::TimeTicks; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 WebViewBenchmarkSupport::PaintModeEverything, | 281 WebViewBenchmarkSupport::PaintModeEverything, |
282 64)); | 282 64)); |
283 benchmarks.push_back(new LayerWidthTiledReplayBenchmark( | 283 benchmarks.push_back(new LayerWidthTiledReplayBenchmark( |
284 "RepaintEverythingToLayerWidthx512BitmapMs", | 284 "RepaintEverythingToLayerWidthx512BitmapMs", |
285 WebViewBenchmarkSupport::PaintModeEverything, | 285 WebViewBenchmarkSupport::PaintModeEverything, |
286 512)); | 286 512)); |
287 return benchmarks.Pass(); | 287 return benchmarks.Pass(); |
288 } | 288 } |
289 | 289 |
290 } // namespace content | 290 } // namespace content |
OLD | NEW |