summaryrefslogtreecommitdiffstats
path: root/libs/hwui/SkiaShader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 3D transforms support to all gradients.Romain Guy2010-10-071-65/+38
| | | | Change-Id: I61409edd00dab3a11684a3f5e4f7df0afc734758
* Apply 3D transformations to gradient shaders.Romain Guy2010-10-061-19/+41
| | | | | | | This fixes only linear gradients. Sweep and radial gradients, as well as bitmap shaders, will be fixed in a future commit. Change-Id: I4eee4ff62e9bbf3b9339fc111a780167449ecfef
* Fix OpenGL errors in various places.Romain Guy2010-09-221-1/+6
| | | Change-Id: I3a4e115d8fb13b6c443e65460d92987b16f2524c
* Add support for circular gradients to the GL renderer.Romain Guy2010-09-211-1/+38
| | | | | | | This change also adds full support for local transformation matrices on sweep and radial gradients. Change-Id: Id8773bc0766575190e3f3d51984fc5e57b266c3f
* Add support for SweepGradient in the GL renderer.Romain Guy2010-09-201-2/+60
| | | | Change-Id: I7aa397ed4e34655ead9ba1f5b4ce087665e0f022
* Add support for drawLines(), with anti-aliasingRomain Guy2010-09-161-0/+23
| | | | Change-Id: I16c0593c5671490909dec13a85df601e1428a1a6
* Add support for Canvas flags on save.Romain Guy2010-09-011-2/+2
| | | | | | This is required for the rewrite of layers support. Change-Id: I5c0867dcf5aeb0392c8d0fbab05febb0eaff70d9
* Fix GC issue, fix local shader transformations.Romain Guy2010-08-121-1/+2
| | | | Change-Id: I208bdf89815dcd18dcadd43df932a77362918435
* Fast text selection drawing.Romain Guy2010-08-101-3/+0
| | | | Change-Id: I93fb1312b47bc05345defa9b6cfe47c0658bb329
* Fix tons of bugs and add new text rendering support.Romain Guy2010-08-101-1/+5
| | | | Change-Id: I326c66b10784006f6df2f12d38e120cef94cd0d7
* Enforce maximum texture size.Romain Guy2010-08-071-2/+8
| | | | | | | | | | | | 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
* Fix incorrect memory cleanup in SkiaShader.Romain Guy2010-08-061-3/+3
| | | | | | Bug #2895037 Change-Id: Id233c2a8a5b709dc9f26ff60aad989e9583a2382
* Fix native crash in SkiaShader.Romain Guy2010-08-041-8/+0
| | | | | | Bug #2893733 Change-Id: I7feb9ab113fe0012cf9eb271f2b044f12a5c9c4e
* Refactor Skia shaders handling.Romain Guy2010-07-301-0/+220
With this change, Skia shaders can easily be applied to any mesh. This change also supports ComposeShader. For instance, this can be used to blend a gradient and a bitmap togehter and paint a string of text with the result. Change-Id: I701c2f9cf7f89b2ff58005e8a1d0d80ccf4a4aea