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

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

Issue 1474853002: 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 5 years 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
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_;
151 bool was_screen_space_transform_animating_; 150 bool was_screen_space_transform_animating_;
152 bool only_used_low_res_last_append_quads_; 151 bool only_used_low_res_last_append_quads_;
153 const bool is_mask_; 152 const bool is_mask_;
154 153
155 bool nearest_neighbor_; 154 bool nearest_neighbor_;
156 155
157 // Any draw properties derived from |transform|, |viewport|, and |clip| 156 // Any draw properties derived from |transform|, |viewport|, and |clip|
158 // parameters in LayerTreeHostImpl::SetExternalDrawConstraints are not valid 157 // parameters in LayerTreeHostImpl::SetExternalDrawConstraints are not valid
159 // for prioritizing tiles during resourceless software draws. This is because 158 // for prioritizing tiles during resourceless software draws. This is because
160 // resourceless software draws can have wildly different transforms/viewports 159 // resourceless software draws can have wildly different transforms/viewports
(...skipping 10 matching lines...) Expand all
171 // of comparing pointers, since objects pointed to are not guaranteed to 170 // of comparing pointers, since objects pointed to are not guaranteed to
172 // exist. 171 // exist.
173 std::vector<PictureLayerTiling*> last_append_quads_tilings_; 172 std::vector<PictureLayerTiling*> last_append_quads_tilings_;
174 173
175 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 174 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
176 }; 175 };
177 176
178 } // namespace cc 177 } // namespace cc
179 178
180 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 179 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698