Chromium Code Reviews| 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/picture_record_benchmark.h" | 5 #include "cc/debug/picture_record_benchmark.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "cc/layers/layer.h" | 11 #include "cc/layers/layer.h" |
| 12 #include "cc/layers/picture_layer.h" | 12 #include "cc/layers/picture_layer.h" |
| 13 #include "cc/resources/picture.h" | |
| 13 #include "cc/trees/layer_tree_host.h" | 14 #include "cc/trees/layer_tree_host.h" |
| 14 #include "cc/trees/layer_tree_host_common.h" | 15 #include "cc/trees/layer_tree_host_common.h" |
| 16 #include "third_party/skia/include/core/skBBHFactory.h" | |
|
vmpstr
2014/11/12 19:18:57
This file doesn't exist (capitalization and all th
hendrikw
2014/11/12 19:37:32
Oh windows, why do you have to be so lenient :(
T
| |
| 15 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
| 16 | 18 |
| 17 namespace cc { | 19 namespace cc { |
| 18 | 20 |
| 19 namespace { | 21 namespace { |
| 20 | 22 |
| 21 const int kPositionIncrement = 100; | 23 const int kPositionIncrement = 100; |
| 22 const int kTileGridSize = 512; | 24 const int kTileGridSize = 512; |
| 23 const int kTileGridBorder = 1; | 25 const int kTileGridBorder = 1; |
| 24 | 26 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 117 base::TimeDelta duration = end - start; | 119 base::TimeDelta duration = end - start; |
| 118 TotalTime& total_time = times_[dimensions]; | 120 TotalTime& total_time = times_[dimensions]; |
| 119 total_time.first += duration; | 121 total_time.first += duration; |
| 120 total_time.second++; | 122 total_time.second++; |
| 121 } | 123 } |
| 122 } | 124 } |
| 123 } | 125 } |
| 124 } | 126 } |
| 125 | 127 |
| 126 } // namespace cc | 128 } // namespace cc |
| OLD | NEW |