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

Unified Diff: cc/draw_properties.h

Issue 11360093: Mark layers that can use LCD text based on layer transform and opacity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reverted whitespace change Created 8 years 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 | « cc/damage_tracker_unittest.cc ('k') | cc/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/draw_properties.h
diff --git a/cc/draw_properties.h b/cc/draw_properties.h
index fc0507c6edd936262ed8b87c7c42ef8bc8353d10..323536d4e4cd8c67cf0cd46aa2c18e749db7d7a1 100644
--- a/cc/draw_properties.h
+++ b/cc/draw_properties.h
@@ -18,8 +18,10 @@ struct CC_EXPORT DrawProperties {
DrawProperties()
: opacity(0)
, opacity_is_animating(false)
+ , screen_space_opacity_is_animating(false)
, target_space_transform_is_animating(false)
, screen_space_transform_is_animating(false)
+ , can_use_lcd_text(false)
, is_clipped(false)
, render_target(0)
{
@@ -42,9 +44,13 @@ struct CC_EXPORT DrawProperties {
// animating, the main thread may not have the same values that are used
// to draw.
bool opacity_is_animating;
+ bool screen_space_opacity_is_animating;
bool target_space_transform_is_animating;
bool screen_space_transform_is_animating;
+ // True if the layer can use LCD text.
+ bool can_use_lcd_text;
+
// True if the layer needs to be clipped by clipRect.
bool is_clipped;
« no previous file with comments | « cc/damage_tracker_unittest.cc ('k') | cc/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698