summaryrefslogtreecommitdiffstats
path: root/libs/hwui/shaders/drawLinearGradient.frag
Commit message (Collapse)AuthorAgeFilesLines
* Moved all the rendering code to the new shader generator.Romain Guy2010-07-291-14/+0
| | | | | | | | | | | The generator supports features that are not yet implement in the renderer: color matrix, lighting, porterduff color blending and composite shaders. This change also adds support for repeated/mirrored non-power of 2 bitmap shaders. Change-Id: I903a11a070c0eb9cc8850a60ef305751e5b47234
* Add program for linear gradient.Romain Guy2010-07-161-0/+14
This change adds a new DrawLinearGradientProgram class to enable the drawing of linear gradients. Two new vertex and fragment shaders are introduced, based on DrawTextureProgram's shaders. Change-Id: I885afc076bb6cef8cd3962ae21a086fa6a03bf96