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
This commit is contained in:
reed@android.com 2010-03-02 19:56:53 +00:00
parent faea3551fe
commit 8de2e6de5b

View File

@ -254,10 +254,14 @@ public:
Note, if you change this after startup, you'll need to flush the glyph 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. 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 { enum LCDOrder {
kRGB_LCDOrder = 0, //!< this is the default kRGB_LCDOrder = 0, //!< this is the default
kBGR_LCDOrder = 1, kBGR_LCDOrder = 1,
kNONE_LCDOrder = 2,
}; };
static void SetSubpixelOrder(LCDOrder order); static void SetSubpixelOrder(LCDOrder order);