summaryrefslogtreecommitdiffstats
path: root/libs/hwui/utils
Commit message (Collapse)AuthorAgeFilesLines
* Make LTE_FLOAT a strict weak order.Jeff Brown2011-09-161-1/+1
| | | | | | | | | | | | | | | | | Bug: 5327776 Currently LTE_FLOAT isn't even a valid partial order, let alone a strict weak order as needed by binary search. Consequently, KeyedVectors with keys whose types have operator< using LTE_FLOAT sometimes find the wrong values! This problem affects several graphics caches including the TextLayoutCache. (This is still not a total order because NaNs are not comparable but hopefully we don't ever search for NaNs this way!) Change-Id: Ic447a34c7d87f681ee81538f22a0937a039072dd
* Add TextLayout CacheFabrice Di Meglio2011-03-021-245/+0
| | | | | | | | - use GenerationCache for caching - move GenerationCache.h from libs/hwui/utils to include/utils - add #define for cache activation / deactivation Change-Id: Ifaf519f0b5e33b087a453e4aa6430162d8438f20
* Free resources only from the GL context thread.Romain Guy2010-11-111-1/+1
| | | | | | | | | | 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
* Optimize FBO drawing with regions.Romain Guy2010-11-024-12/+12
| | | | | | | | | This optimization is currently disabled until Launcher is modified to take advantage of it. The optimization can be enabled by turning on RENDER_LAYERS_AS_REGIONS in the OpenGLRenderer.h file. Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
* Small cleanup.Romain Guy2010-10-181-2/+2
| | | | Change-Id: I0e5b9154a2d93af793d62f462d68cb7c6c3f6d75
* Use VBOs to render most geometries.Romain Guy2010-10-181-4/+4
| | | | Change-Id: I4360dc4fe5693ab425450c107282b2c22db4dca7
* Optimize 9patch rendering.Romain Guy2010-10-121-0/+40
| | | | | | | This change detects empty quads in 9patches and removes them from the mesh to avoid unnecessary blending. Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
* Move GenerationCache to the utils directory.Romain Guy2010-10-081-0/+245
| | | | Change-Id: I210ffa8f1d76a102bb7d971c649c20a74d03fbe6
* Better cache for layers, reduce memory usage and increase framerate.Romain Guy2010-10-083-0/+433
Change-Id: I5ff864a361db4791bd5ff6be716f7ce692ef572d