summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Dither.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce Caches::bindTexture() to reduce glBindTexture callsRomain Guy2013-06-041-4/+3
| | | | Change-Id: Ic345422567c020c0a9035ff51dcf2ae2a1fc59f4
* Use float textures to render gradients when possibleRomain Guy2013-04-051-1/+11
| | | | | | | | | | | Float textures offer better precision for dithering. In addition this change removes two uniforms from gradient shaders. These uniforms were used to dither gradients but their value is a build time constant. Instead we hardcode the value directly in the shader source at compile time. Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee
* Correct executable bit for source files [Take 2]Chirayu Desai2013-03-271-0/+0
| | | | | | | Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some files, this fixes them. Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
* Add dithering to gradientsRomain Guy2012-08-011-0/+47
Change-Id: Ic1208855bde3a254eca2fd7cef43e0f1318ce419