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

Unified Diff: cc/layer_impl.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: addressed comments 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
« cc/content_layer.cc ('K') | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 1624a6cb96938427ce4f66947a4ce5bba7a44fd7..f337ca4ecac7579c1355c2ef9d473c9a4b799c4b 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -151,9 +151,6 @@ public:
void setUseParentBackfaceVisibility(bool useParentBackfaceVisibility) { m_useParentBackfaceVisibility = useParentBackfaceVisibility; }
bool useParentBackfaceVisibility() const { return m_useParentBackfaceVisibility; }
- void setUseLCDText(bool useLCDText) { m_useLCDText = useLCDText; }
- bool useLCDText() const { return m_useLCDText; }
-
void setSublayerTransform(const gfx::Transform&);
const gfx::Transform& sublayerTransform() const { return m_sublayerTransform; }
@@ -179,6 +176,8 @@ public:
bool drawOpacityIsAnimating() const { return m_drawProperties.opacity_is_animating; }
bool drawTransformIsAnimating() const { return m_drawProperties.target_space_transform_is_animating; }
bool screenSpaceTransformIsAnimating() const { return m_drawProperties.screen_space_transform_is_animating; }
+ bool screenSpaceOpacityIsAnimating() const { return m_drawProperties.screen_space_opacity_is_animating; }
+ bool canUseLCDText() const { return m_drawProperties.can_use_lcd_text; }
bool isClipped() const { return m_drawProperties.is_clipped; }
const gfx::Rect& clipRect() const { return m_drawProperties.clip_rect; }
const gfx::Rect& drawableContentRect() const { return m_drawProperties.drawable_content_rect; }
@@ -359,7 +358,6 @@ private:
bool m_drawCheckerboardForMissingTiles;
gfx::Transform m_sublayerTransform;
gfx::Transform m_transform;
- bool m_useLCDText;
bool m_drawsContent;
bool m_forceRenderSurface;
« cc/content_layer.cc ('K') | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698