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

Unified Diff: cc/layers/draw_properties.h

Issue 338653002: Revert of cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/picture_image_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/draw_properties.h
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h
index a0bfc2a6f2f741eedb036e5c73d8c5c10baeaa27..44be54b2ca10147843c9b386c5896c8d9cfcca23 100644
--- a/cc/layers/draw_properties.h
+++ b/cc/layers/draw_properties.h
@@ -36,11 +36,7 @@
num_descendants_added(0),
index_of_first_render_surface_layer_list_addition(0),
num_render_surfaces_added(0),
- last_drawn_render_surface_layer_list_id(0),
- ideal_contents_scale(0.f),
- maximum_animation_contents_scale(0.f),
- page_scale_factor(0.f),
- device_scale_factor(0.f) {}
+ last_drawn_render_surface_layer_list_id(0) {}
// Transforms objects from content space to target surface space, where
// this layer would be drawn.
@@ -136,21 +132,6 @@
// 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_factor;
-
- // The device scale factor that is applied to the layer.
- float device_scale_factor;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/layers/picture_image_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698