aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/shader.h
Commit message (Collapse)AuthorAgeFilesLines
* st/vega: Move vertex transformation to shader.Chia-I Wu2010-12-031-0/+2
| | | | | | | 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.
* st/vega: Fix paint coordinates transformations.Chia-I Wu2010-12-011-0/+3
| | | | | | | | 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.
* st/vega: Add color transformation support.Chia-I Wu2010-12-011-0/+2
| | | | | Per OpenVG 1.1. A new shader stage is added. It uses the first two constants of the fragment shader for color transformation parameters.
* OpenVG 1.0 State TrackerZack Rusin2009-05-011-0/+56
Import of the OpenVG 1.0 state tracker for Gallium.