Victoria Lease 1e546815bb Support RGBA fonts and bitmap fonts (and RGBA bitmap fonts)
Quite a few things going on in this commit:

- Enable bitmap strikes by default in Paint objects.

The SkPaint parameter that enables bitmap strikes was not previously
included in DEFAULT_PAINT_FLAGS. This effectively disabled bitmap
fonts. Oops! It's for the best, though, as additional work was needed
in Skia to make bitmap fonts work anyway.

- Complain if TEXTURE_BORDER_SIZE is not 1.

Our glyph cache code does not currently handle any value other than 1
here, including zero. I've added a little C preprocessor check to
prevent future engineers (including especially future-me) from
thinking that they can change this value without updating the related
code.

- Add GL_RGBA support to hwui's FontRenderer and friends

This also happened to involve some refactoring for convenience and
cleanliness.

Bug: 9577689
Change-Id: I0abd1e5a0d6623106247fb6421787e2c2f2ea19c
2013-07-31 15:50:47 -07:00
..
2013-05-03 17:08:20 -07:00
2013-04-15 13:53:02 -07:00
2013-06-27 15:40:46 -07:00
2013-06-27 15:40:46 -07:00
2013-06-13 14:58:32 -07:00
2013-06-13 14:58:32 -07:00
2013-05-02 17:50:23 -07:00
2013-05-14 14:12:55 -07:00
2013-06-13 14:58:32 -07:00
2013-05-14 14:12:55 -07:00