summaryrefslogtreecommitdiffstats
path: root/libs/hwui/font/FontUtil.h
Commit message (Collapse)AuthorAgeFilesLines
* Minimize texture binds when drawing textRomain Guy2013-03-191-1/+1
| | | | | | | | | | | When several CacheTextures are used to draw text, sort the draw batches by texture ID to minimize state changes in the driver. This change also tweaks the font cache size and renames a property that was too long to be set using setprop. Change-Id: I0a36dfffe58c9e75dd7384592d3343c192d042b1
* Add plumbing for better text scalingRomain Guy2013-01-081-2/+2
| | | | | | | | Fonts are now described by a transform matrix. This lead to switching from a vector to a hashmap. This change therefore adds new comparators and hash computations to Font. Change-Id: I2daffa7d6287c18554c606b8bfa06640d28b4530
* Refactor FontRenderer.cppRomain Guy2012-09-041-0/+60
FontRenderer.h defined several classes and structures that now live in the font/ folder. This will make the code easier to read and maintain. Change-Id: I3dc044e9bde1d6515f8704f5c72462877d279fe2