aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPaint.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-27 16:44:46 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-27 16:44:46 +0000
commiteffc5016f040945a53ab0ea47f9ea02404c17805 (patch)
tree137b3257bfcd83ec0d7b954507c11ecb30ad215b /src/core/SkPaint.cpp
parent67908f2faee17a8bce4d074980617cc0d15fabf1 (diff)
remove obsolete text codepaths
git-svn-id: http://skia.googlecode.com/svn/trunk@1725 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r--src/core/SkPaint.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
index 0608320f40..7180a6ad31 100644
--- a/src/core/SkPaint.cpp
+++ b/src/core/SkPaint.cpp
@@ -1191,12 +1191,6 @@ static SkMask::Format computeMaskFormat(const SkPaint& paint) {
return SkMask::kBW_Format;
}
-#if defined(SK_SUPPORT_LCDTEXT)
- if (flags & SkPaint::kLCDRenderText_Flag) {
- return SkFontHost::GetSubpixelOrientation() == SkFontHost::kHorizontal_LCDOrientation ?
- SkMask::kHorizontalLCD_Format : SkMask::kVerticalLCD_Format;
- }
-#else
if (flags & SkPaint::kLCDRenderText_Flag) {
#if !defined(SK_SUPPORT_888_TEXT)
return SkMask::kLCD16_Format;
@@ -1204,7 +1198,6 @@ static SkMask::Format computeMaskFormat(const SkPaint& paint) {
return SkMask::kLCD32_Format;
#endif
}
-#endif
return SkMask::kA8_Format;
}