| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 // This is the only function that returns something different from the base | 112 // This is the only function that returns something different from the base |
| 113 // client. | 113 // client. |
| 114 virtual const Region* GetInvalidation() OVERRIDE { return &invalidation_; } | 114 virtual const Region* GetInvalidation() OVERRIDE { return &invalidation_; } |
| 115 | 115 |
| 116 virtual const PictureLayerTiling* GetTwinTiling( | 116 virtual const PictureLayerTiling* GetTwinTiling( |
| 117 const PictureLayerTiling* tiling) const OVERRIDE { | 117 const PictureLayerTiling* tiling) const OVERRIDE { |
| 118 return base_client_->GetTwinTiling(tiling); | 118 return base_client_->GetTwinTiling(tiling); |
| 119 } | 119 } |
| 120 | 120 |
| 121 virtual PictureLayerTiling* GetRecycledTwinTiling( |
| 122 const PictureLayerTiling* tiling) OVERRIDE { |
| 123 return base_client_->GetRecycledTwinTiling(tiling); |
| 124 } |
| 125 |
| 121 virtual size_t GetMaxTilesForInterestArea() const OVERRIDE { | 126 virtual size_t GetMaxTilesForInterestArea() const OVERRIDE { |
| 122 return base_client_->GetMaxTilesForInterestArea(); | 127 return base_client_->GetMaxTilesForInterestArea(); |
| 123 } | 128 } |
| 124 | 129 |
| 125 virtual float GetSkewportTargetTimeInSeconds() const OVERRIDE { | 130 virtual float GetSkewportTargetTimeInSeconds() const OVERRIDE { |
| 126 return base_client_->GetSkewportTargetTimeInSeconds(); | 131 return base_client_->GetSkewportTargetTimeInSeconds(); |
| 127 } | 132 } |
| 128 | 133 |
| 129 virtual int GetSkewportExtrapolationLimitInContentPixels() const OVERRIDE { | 134 virtual int GetSkewportExtrapolationLimitInContentPixels() const OVERRIDE { |
| 130 return base_client_->GetSkewportExtrapolationLimitInContentPixels(); | 135 return base_client_->GetSkewportExtrapolationLimitInContentPixels(); |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 pixels_rasterized_with_non_solid_color(0), | 267 pixels_rasterized_with_non_solid_color(0), |
| 263 pixels_rasterized_as_opaque(0), | 268 pixels_rasterized_as_opaque(0), |
| 264 total_layers(0), | 269 total_layers(0), |
| 265 total_picture_layers(0), | 270 total_picture_layers(0), |
| 266 total_picture_layers_with_no_content(0), | 271 total_picture_layers_with_no_content(0), |
| 267 total_picture_layers_off_screen(0) {} | 272 total_picture_layers_off_screen(0) {} |
| 268 | 273 |
| 269 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} | 274 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} |
| 270 | 275 |
| 271 } // namespace cc | 276 } // namespace cc |
| OLD | NEW |