summaryrefslogtreecommitdiffstats
path: root/libs/hwui/GradientCache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the amount of data cached by the gradients cache.Romain Guy2011-08-011-25/+15
| | | | Change-Id: I8546f5a5ecf38031c9a40bdcc434d4c7f22da63d
* Improve rendering performance on some GPUsRomain Guy2011-07-251-5/+2
| | | | | | | | This change sets textures filtering to GL_NEAREST by default. GL_LINEAR filtering is only used when textures are transformed with a scale or a rotation. This helps save a couple of fps on some GPUs. Change-Id: I1efaa452c2c79905f00238e54d886a37203a2ac1
* Log only 1 line per process when using OpenGLRenderer.Romain Guy2011-01-211-2/+3
| | | | Change-Id: Idbdd6b84f31301e58ed53e0d50fd61fece192dfa
* Free resources only from the GL context thread.Romain Guy2010-11-111-11/+14
| | | | | | | | | | Bug #3179882 Resources were freed following garbage collections on a worker thread. This worker thread had no EGL context, which would cause the renderer to incorrectly assume that the memory was liberated. Change-Id: Ifdb51f94ddf42641e8654522787bfac532976c7c
* Add support for SweepGradient in the GL renderer.Romain Guy2010-09-201-1/+1
| | | | Change-Id: I7aa397ed4e34655ead9ba1f5b4ce087665e0f022
* Purge Skia objects from GL caches as needed.Romain Guy2010-09-081-0/+14
| | | | Change-Id: I754c671cf790ad5ae8bf047ad328034217da4ecc
* 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