From 8de2e6de5b1f19e29d90cab1ced385b7ae01b751 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Tue, 2 Mar 2010 19:56:53 +0000 Subject: [PATCH] add kNONE_LCDOrder for screens with no recognizable rgb order git-svn-id: http://skia.googlecode.com/svn/trunk@518 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkFontHost.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/core/SkFontHost.h b/include/core/SkFontHost.h index cb56772b39..d706e4e802 100644 --- a/include/core/SkFontHost.h +++ b/include/core/SkFontHost.h @@ -254,12 +254,16 @@ public: Note, if you change this after startup, you'll need to flush the glyph cache because it'll have the wrong type of masks cached. - */ + + kNONE_LCDOrder means that the subpixel elements are not spatially + separated in any usable fashion. + */ enum LCDOrder { kRGB_LCDOrder = 0, //!< this is the default kBGR_LCDOrder = 1, + kNONE_LCDOrder = 2, }; - + static void SetSubpixelOrder(LCDOrder order); static LCDOrder GetSubpixelOrder(); }; -- 2.34.1