st/vega: Move vertex transformation to shader.
authorChia-I Wu <olv@lunarg.com>
Thu, 2 Dec 2010 16:44:43 +0000 (00:44 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 3 Dec 2010 06:23:04 +0000 (14:23 +0800)
commita84a1e344f544ec4da61809d4f09853a94d93e07
treed1d141510e4a3b64c58e7596b2127749b320a067
parent29bea39fde0b3be89a34bf0d979f33f601412eee
st/vega: Move vertex transformation to shader.

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.
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/path.c
src/gallium/state_trackers/vega/path.h
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/renderer.h
src/gallium/state_trackers/vega/shader.c
src/gallium/state_trackers/vega/shader.h