summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/shader.h
AgeCommit message (Collapse)Author
2010-12-03st/vega: Move vertex transformation to shader.Chia-I Wu
It was done in path-to-polygon conversion. That meant that the results were invalidated when the transformation was modified, and CPU had to recreate the vertex buffer with new vertices. It could be a performance hit for apps that animate.
2010-12-01st/vega: Fix paint coordinates transformations.Chia-I Wu
Depending on whether vgDrawPath(mode), vgDrawImage, or vgDrawGlyph[s] is called, different paint-to-user and user-to-surface matrices should be used to derive the sample points for the paint. This fixes "paint" demo.
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.
2009-05-01OpenVG 1.0 State TrackerZack Rusin
Import of the OpenVG 1.0 state tracker for Gallium.