summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Texture.h
Commit message (Collapse)AuthorAgeFilesLines
* Various OpenGL optimizationsRomain Guy2011-12-121-1/+1
| | | | Change-Id: Ib0742c96f10f5f50e7e5148b742c31b6c232d127
* Optimize away unnecessary state changesRomain Guy2011-11-301-2/+12
| | | | Change-Id: I0f6816f9f6234853575ecee5033186ad19e76380
* Improve rendering performance on some GPUsRomain Guy2011-07-251-6/+39
| | | | | | | | 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
* Use NEAREST filtering for layers whenever possible.Romain Guy2011-07-071-0/+20
| | | | Change-Id: Id5bee1bd4a322cf93e8000b08e18f1e1b058648e
* Optimize FBO drawing with regions.Romain Guy2010-11-021-3/+3
| | | | | | | | | 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
* Don't change textures wrap modes on every draw.Romain Guy2010-10-251-0/+8
| | | | Change-Id: If6d3f313778cc7f3e803a063338539c8b3e165e3
* Fix possible infinite loop when purging textures.Romain Guy2010-09-081-0/+5
| | | | Change-Id: Ib05b398ae03e734da2dab0496df416fed4570b1c
* Automatically cleanup textures that don't fit in the cache.Romain Guy2010-08-061-0/+22
| | | | Change-Id: I4f29ed96ea11118b391fb957e1e4d1b8fcef1537
* Remove extra leftover logs and use uint32_t instead of unsigned int.Romain Guy2010-07-021-2/+2
| | | | Change-Id: I944f82fe3255de38dc04048cc8bd861f578f01a7
* Remove unnecessary return and add bitmap generation ID tracking.Romain Guy2010-06-301-0/+4
| | | | Change-Id: Icf5e0635e789f5ea53268c22fad51cf733b5b1a6
* Add hooks for drawBitmap().Romain Guy2010-06-301-0/+50
Change-Id: I58e962c3a8b2bc75c2605fe369ad3002579d86e0 Add texture cache. Change-Id: I1c0e5581d228869e114438258a1014e33e024ad7