summaryrefslogtreecommitdiffstats
path: root/libs/hwui/GradientCache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use only one GL context per process, share chaches.Romain Guy2010-08-241-0/+15
| | | | Change-Id: Ieabaa25338d2f4b8d4fd90e7401ad6e7452eae11
* Enforce maximum texture size.Romain Guy2010-08-071-2/+1
| | | | | | | | | | | | When an app tries to render a bitmap or path larger than the GPU's maximum texture size, the drawing command is ignored and a warning is logged. This change also makes texture drawing more robust by catching potential errors during texture creation. This change also fixes a crash in the FontRenderer. The destructor would sometimes try to free an uninitialized array. Change-Id: I95ae0939c52192d97b340aa02417bf6d0c962c57
* Add support for linear gradients.Romain Guy2010-07-191-0/+160
Change-Id: Id15329da065045b3f06fdaed615f33cd57608496