summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
AgeCommit message (Collapse)Author
2010-09-12Correct implementation of saveLayer().Romain Guy
Change-Id: I5375126636913e0a84f2d6bbd0ebe40d2e4f2763
2010-09-09Add support for advanced blend modes with the framebuffer.Romain Guy
This adds the ability to blend with the framebuffer using Darken, Lighten, Add, Multiply, Overlay and Screen. Change-Id: Iae01a53797d4ad39c373cba6ff2a42293129da1a
2010-08-10Add extra blending modes.Romain Guy
This change adds the following blending modes for shaders and color filters: Add Multiply Screen Overlay Darken Lighten Change-Id: Iff22f5ce6041b43c71b1857d73013f5010ab3413
2010-08-10Fix tons of bugs and add new text rendering support.Romain Guy
Change-Id: I326c66b10784006f6df2f12d38e120cef94cd0d7
2010-08-05Add support for paths.Romain Guy
Rendering is implementing by rasterizing the paths into A8 textures. This cna be extremely inefficient if the path changes often. Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
2010-08-02Add support for ColorFilters.Romain Guy
Color filters are fully supported and can be used with shaders. Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
2010-07-30Refactor Skia shaders handling.Romain Guy
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
2010-07-29Moved all the rendering code to the new shader generator.Romain Guy
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
2010-07-27Generate shaders to cover all possible cases.Romain Guy
With this change, all the vertex and fragment shaders used by the GL renderer are now generated based on a program description supplied by the caller. This allows the renderer to generate a large number of shaders without having to write all the possible combinations by hand. The generated shaders are stored in a program cache. Change-Id: If54d286e77ae021c724d42090da476df12a18ebb