summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/shaders_cache.h
AgeCommit message (Collapse)Author
2010-12-04st/vega: Add blend shaders for all blend modes.Chia-I Wu
2010-12-04st/vega: Add support for per-channel alpha.Chia-I Wu
Drawing an image in VG_DRAW_IMAGE_STENCIL mode produces per-channel alpha for use in blending. Add a new shader stage to produce and save it in TEMP[1]. For other modes that do not need per-channel alpha, the stage does MOV TEMP[1], TEMP[0].wwww
2010-12-04st/vega: Move masking after blending.Chia-I Wu
Masking should happen after blending. The shader is not entirely correct, but leave it as is for now.
2010-12-01st/vega: Fix degenerate paints.Chia-I Wu
Fix the case that the two points of a linear gradient coincide, or the case that the radius of a radial gradient is equal to or less than 0.
2010-12-01st/vega: Add color transformation support.Chia-I Wu
Per OpenVG 1.1. A new shader stage is added. It uses the first two constants of the fragment shader for color transformation parameters.
2010-12-01st/vega: More flexible shader selection.Chia-I Wu
Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill, premultiply, and bw. Each group represents a stage. At most one shader from each group will be selected when constructing the final fragment shader.
2009-05-01OpenVG 1.0 State TrackerZack Rusin
Import of the OpenVG 1.0 state tracker for Gallium.