OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |