Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 502453003: cc: Remove tiles from recycle tree that were deleted on active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.h » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.h » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698