diff options
author | Chia-I Wu <[email protected]> | 2010-12-03 00:44:43 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-03 14:23:04 +0800 |
commit | a84a1e344f544ec4da61809d4f09853a94d93e07 (patch) | |
tree | d1d141510e4a3b64c58e7596b2127749b320a067 /src/gallium/state_trackers/vega/path.h | |
parent | 29bea39fde0b3be89a34bf0d979f33f601412eee (diff) |
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.
Diffstat (limited to 'src/gallium/state_trackers/vega/path.h')
-rw-r--r-- | src/gallium/state_trackers/vega/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/path.h b/src/gallium/state_trackers/vega/path.h index 772ab2a0a53..d84b1f083ce 100644 --- a/src/gallium/state_trackers/vega/path.h +++ b/src/gallium/state_trackers/vega/path.h @@ -105,8 +105,8 @@ VGboolean path_interpolate(struct path *dst, void path_clear(struct path *p, VGbitfield capabilities); void path_render(struct path *p, VGbitfield paintModes, struct matrix *mat); -void path_fill(struct path *p, struct matrix *mat); -void path_stroke(struct path *p, struct matrix *mat); +void path_fill(struct path *p); +void path_stroke(struct path *p); void path_move_to(struct path *p, float x, float y); void path_line_to(struct path *p, float x, float y); |