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

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

Issue 874613003: cc: Stop pushing properties every activation for picture layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pli-pushprops: fixscrolling Created 5 years, 11 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') | no next file with comments »
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 TilePriority::PriorityBin GetMaxTilePriorityBin() const override { 98 TilePriority::PriorityBin GetMaxTilePriorityBin() const override {
99 return base_client_->GetMaxTilePriorityBin(); 99 return base_client_->GetMaxTilePriorityBin();
100 } 100 }
101 101
102 WhichTree GetTree() const override { return base_client_->GetTree(); } 102 WhichTree GetTree() const override { return base_client_->GetTree(); }
103 103
104 bool RequiresHighResToDraw() const override { 104 bool RequiresHighResToDraw() const override {
105 return base_client_->RequiresHighResToDraw(); 105 return base_client_->RequiresHighResToDraw();
106 } 106 }
107 107
108 void TilingLiveRectChanged() override {}
109
108 private: 110 private:
109 PictureLayerTilingClient* base_client_; 111 PictureLayerTilingClient* base_client_;
110 Region invalidation_; 112 Region invalidation_;
111 }; 113 };
112 114
113 } // namespace 115 } // namespace
114 116
115 RasterizeAndRecordBenchmarkImpl::RasterizeAndRecordBenchmarkImpl( 117 RasterizeAndRecordBenchmarkImpl::RasterizeAndRecordBenchmarkImpl(
116 scoped_refptr<base::MessageLoopProxy> origin_loop, 118 scoped_refptr<base::MessageLoopProxy> origin_loop,
117 base::Value* value, 119 base::Value* value,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 total_memory_usage(0), 228 total_memory_usage(0),
227 total_layers(0), 229 total_layers(0),
228 total_picture_layers(0), 230 total_picture_layers(0),
229 total_picture_layers_with_no_content(0), 231 total_picture_layers_with_no_content(0),
230 total_picture_layers_off_screen(0) { 232 total_picture_layers_off_screen(0) {
231 } 233 }
232 234
233 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {} 235 RasterizeAndRecordBenchmarkImpl::RasterizeResults::~RasterizeResults() {}
234 236
235 } // namespace cc 237 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698