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

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: fixed unit tests Created 8 years, 1 month 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/layer.cc ('k') | cc/layer_impl.cc » ('j') | cc/layer_tree_host_common.h » ('J')
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 c467d8224005fc90c8446c4743c1f2277da0b9db..7beaa6c64f7ce2fd59d8af03a963dba3e4e40771 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -139,8 +139,8 @@ 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 setCanUseLCDText(bool useLCDText) { m_canUseLCDText = useLCDText; }
+ bool useCanLCDText() const { return m_canUseLCDText; }
void setSublayerTransform(const WebKit::WebTransformationMatrix&);
const WebKit::WebTransformationMatrix& sublayerTransform() const { return m_sublayerTransform; }
@@ -344,7 +344,7 @@ private:
bool m_drawCheckerboardForMissingTiles;
WebKit::WebTransformationMatrix m_sublayerTransform;
WebKit::WebTransformationMatrix m_transform;
- bool m_useLCDText;
+ bool m_canUseLCDText;
bool m_drawsContent;
bool m_forceRenderSurface;
« no previous file with comments | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | cc/layer_tree_host_common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698