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

Unified Diff: cc/layers/draw_properties.h

Issue 1076313006: Animation start scale should be considered for the raster scale (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: cc/layers/draw_properties.h
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h
index 930f7bf0e95a29119937d0ad85adff2193f2959e..34827d41c62e10e4ff53574ff4c9132c9f99c950 100644
--- a/cc/layers/draw_properties.h
+++ b/cc/layers/draw_properties.h
@@ -43,6 +43,7 @@ struct CC_EXPORT DrawProperties {
last_drawn_render_surface_layer_list_id(0),
ideal_contents_scale(0.f),
maximum_animation_contents_scale(0.f),
+ starting_animation_contents_scale(0.f),
page_scale_factor(0.f),
device_scale_factor(0.f) {}
@@ -156,6 +157,10 @@ struct CC_EXPORT DrawProperties {
// should be rastered at to be crisp.
float maximum_animation_contents_scale;
+ // The scale during the layer animation start at which content
danakj 2015/04/23 18:24:08 wrap at 80
patro 2015/04/24 11:47:27 Done.
+ // should be rastered at to be crisp.
+ float starting_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;

Powered by Google App Engine
This is Rietveld 408576698