commit | 5e2df64215f12660ab26b96816f40ad8e32bf16f | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Sep 21 18:42:09 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Sep 21 18:42:09 2011 +0000 |
tree | b8e23754d3b45b1e27c130a979db51121afd457c | |
parent | 98b11f1c214affb3dab51716ddf8dac2248b54cd [diff] |
detect when LCD is really just BW, and remark the glyph as that. allows us to take a much faster blitter. TODO: inform SkGlyphCache of this, so it can shrink its allocation for the image buffer (since BW takes up 1/16 as much ram) TODO(2): allow for A8->BW conversion my having scalercontext set a flag if it really-wants A8 (i.e. we have a maskfilter) git-svn-id: http://skia.googlecode.com/svn/trunk@2301 2bbb7eff-a529-9590-31e7-b0007b416f81