summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/shader.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-29 11:49:18 +0800
committerChia-I Wu <[email protected]>2010-12-01 11:23:52 +0800
commite360f91f152615b35857a4d008d0439a3c3285a8 (patch)
tree0567639af63cafa34dcb26adbb6928432ff1870a /src/gallium/state_trackers/vega/shader.h
parent213e288e78bf5b0fb0a996cc17dfd959756c2c53 (diff)
st/vega: Add color transformation support.
Per OpenVG 1.1. A new shader stage is added. It uses the first two constants of the fragment shader for color transformation parameters.
Diffstat (limited to 'src/gallium/state_trackers/vega/shader.h')
-rw-r--r--src/gallium/state_trackers/vega/shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/shader.h b/src/gallium/state_trackers/vega/shader.h
index 847eee6a310..f906631b50e 100644
--- a/src/gallium/state_trackers/vega/shader.h
+++ b/src/gallium/state_trackers/vega/shader.h
@@ -37,6 +37,8 @@ struct vg_image;
struct shader *shader_create(struct vg_context *context);
void shader_destroy(struct shader *shader);
+void shader_set_color_transform(struct shader *shader, VGboolean set);
+
void shader_set_masking(struct shader *shader, VGboolean set);
VGboolean shader_is_masking(struct shader *shader);