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

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 1894173004: Revert of cc: Stop locking the raster scale factor at 1 after any change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 float ideal_device_scale_; 140 float ideal_device_scale_;
141 float ideal_source_scale_; 141 float ideal_source_scale_;
142 float ideal_contents_scale_; 142 float ideal_contents_scale_;
143 143
144 float raster_page_scale_; 144 float raster_page_scale_;
145 float raster_device_scale_; 145 float raster_device_scale_;
146 float raster_source_scale_; 146 float raster_source_scale_;
147 float raster_contents_scale_; 147 float raster_contents_scale_;
148 float low_res_raster_contents_scale_; 148 float low_res_raster_contents_scale_;
149 149
150 bool raster_source_scale_is_fixed_;
150 bool was_screen_space_transform_animating_; 151 bool was_screen_space_transform_animating_;
151 bool only_used_low_res_last_append_quads_; 152 bool only_used_low_res_last_append_quads_;
152 const bool is_mask_; 153 const bool is_mask_;
153 154
154 bool nearest_neighbor_; 155 bool nearest_neighbor_;
155 156
156 // Any draw properties derived from |transform|, |viewport|, and |clip| 157 // Any draw properties derived from |transform|, |viewport|, and |clip|
157 // parameters in LayerTreeHostImpl::SetExternalDrawConstraints are not valid 158 // parameters in LayerTreeHostImpl::SetExternalDrawConstraints are not valid
158 // for prioritizing tiles during resourceless software draws. This is because 159 // for prioritizing tiles during resourceless software draws. This is because
159 // resourceless software draws can have wildly different transforms/viewports 160 // resourceless software draws can have wildly different transforms/viewports
(...skipping 10 matching lines...) Expand all
170 // of comparing pointers, since objects pointed to are not guaranteed to 171 // of comparing pointers, since objects pointed to are not guaranteed to
171 // exist. 172 // exist.
172 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 173 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
173 174
174 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 175 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
175 }; 176 };
176 177
177 } // namespace cc 178 } // namespace cc
178 179
179 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 180 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698