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_impl.h" | 5 #include "cc/debug/rasterize_and_record_benchmark_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 114 |
115 // This is the only function that returns something different from the base | 115 // This is the only function that returns something different from the base |
116 // client. | 116 // client. |
117 virtual const Region* GetInvalidation() OVERRIDE { return &invalidation_; } | 117 virtual const Region* GetInvalidation() OVERRIDE { return &invalidation_; } |
118 | 118 |
119 virtual const PictureLayerTiling* GetTwinTiling( | 119 virtual const PictureLayerTiling* GetTwinTiling( |
120 const PictureLayerTiling* tiling) const OVERRIDE { | 120 const PictureLayerTiling* tiling) const OVERRIDE { |
121 return base_client_->GetTwinTiling(tiling); | 121 return base_client_->GetTwinTiling(tiling); |
122 } | 122 } |
123 | 123 |
| 124 virtual PictureLayerTiling* GetRecycledTwinTiling( |
| 125 const PictureLayerTiling* tiling) const OVERRIDE { |
| 126 return base_client_->GetRecycledTwinTiling(tiling); |
| 127 } |
| 128 |
124 virtual size_t GetMaxTilesForInterestArea() const OVERRIDE { | 129 virtual size_t GetMaxTilesForInterestArea() const OVERRIDE { |
125 return base_client_->GetMaxTilesForInterestArea(); | 130 return base_client_->GetMaxTilesForInterestArea(); |
126 } | 131 } |
127 | 132 |
128 virtual float GetSkewportTargetTimeInSeconds() const OVERRIDE { | 133 virtual float GetSkewportTargetTimeInSeconds() const OVERRIDE { |
129 return base_client_->GetSkewportTargetTimeInSeconds(); | 134 return base_client_->GetSkewportTargetTimeInSeconds(); |
130 } | 135 } |
131 | 136 |
132 virtual int GetSkewportExtrapolationLimitInContentPixels() const OVERRIDE { | 137 virtual int GetSkewportExtrapolationLimitInContentPixels() const OVERRIDE { |
133 return base_client_->GetSkewportExtrapolationLimitInContentPixels(); | 138 return base_client_->GetSkewportExtrapolationLimitInContentPixels(); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 pixels_rasterized_with_non_solid_color(0), | 270 pixels_rasterized_with_non_solid_color(0), |
266 pixels_rasterized_as_opaque(0), | 271 pixels_rasterized_as_opaque(0), |
267 total_layers(0), | 272 total_layers(0), |
268 total_picture_layers(0), | 273 total_picture_layers(0), |
269 total_picture_layers_with_no_content(0), | 274 total_picture_layers_with_no_content(0), |
270 total_picture_layers_off_screen(0) {} | 275 total_picture_layers_off_screen(0) {} |
271 | 276 |
272 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} | 277 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} |
273 | 278 |
274 } // namespace cc | 279 } // namespace cc |
OLD | NEW |