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

Unified Diff: cc/layers/draw_properties.h

Issue 271533011: cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP - review comments Created 6 years, 7 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/layer_impl.h » ('j') | cc/layers/layer_impl.h » ('J')
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 3f167b9b0b653c219f001f4072d149e700e0accc..e4c6e6d276aea4dbb3b5bb6fa45c078b546f103c 100644
--- a/cc/layers/draw_properties.h
+++ b/cc/layers/draw_properties.h
@@ -128,6 +128,14 @@ 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;
+
+ // Content scales for the layer, used to set scales for tiling and raster.
danakj 2014/05/16 14:49:05 how about "The scale at which content for the lay
+ // Draw transform scales.
+ float ideal_contents_scale;
danakj 2014/05/16 14:49:05 empty line between each one
+ // Max animation scale.
danakj 2014/05/16 14:49:05 "The maximum scale during the layers current anima
+ float maximum_animation_contents_scale;
+ // Page scale factor.
danakj 2014/05/16 14:49:05 "The page scale factor that is applied to the laye
+ float page_scale;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/layers/layer_impl.h » ('j') | cc/layers/layer_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698