Chromium Code Reviews| Index: cc/layers/draw_properties.h |
| diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h |
| index 3f167b9b0b653c219f001f4072d149e700e0accc..d9189e991fd114ea797c27c23ad4db181c68e70c 100644 |
| --- a/cc/layers/draw_properties.h |
| +++ b/cc/layers/draw_properties.h |
| @@ -128,6 +128,21 @@ struct CC_EXPORT DrawProperties { |
| // or the layer doesn't contribute anything, then this ID will be either out |
| // of date or 0. |
| int last_drawn_render_surface_layer_list_id; |
| + |
| + // The scale at which content for the layer should be rastered in order to be |
| + // perfectly crisp. |
| + float ideal_contents_scale; |
| + |
| + // The maximum scale during the layers current animation at which content |
| + // should be rastered at to be crisp. |
| + float maximum_animation_contents_scale; |
| + |
| + // The page scale factor that is applied to the layer. Since some layers may |
| + // have page scale applied and others not, this may differ between layers. |
| + float page_scale; |
|
danakj
2014/05/21 15:01:00
nit: add _factor to this and below as that's what
|
| + |
| + // The device scale factor that is applied to the layer. |
| + float device_scale; |
| }; |
| } // namespace cc |