summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/renderer.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-28 17:30:29 +0800
committerChia-I Wu <[email protected]>2010-12-01 11:23:50 +0800
commitee0f1ab923cc52b5eeacc47a749561d1c7216207 (patch)
tree5304291fe6f3a5bb1d1247017c816299ee7eaee5 /src/gallium/state_trackers/vega/renderer.h
parentb730f0fc52a208b5f2a308199724ab02aa391fec (diff)
st/vega: Make shader_bind call into the renderer.
With this commit, the pipe states are entirely managed by the renderer. The rest of the code interfaces with the renderer instead of manipulating the states directly.
Diffstat (limited to 'src/gallium/state_trackers/vega/renderer.h')
-rw-r--r--src/gallium/state_trackers/vega/renderer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/renderer.h b/src/gallium/state_trackers/vega/renderer.h
index 763e57def58..88d0a89fc2b 100644
--- a/src/gallium/state_trackers/vega/renderer.h
+++ b/src/gallium/state_trackers/vega/renderer.h
@@ -50,6 +50,14 @@ void renderer_validate(struct renderer *renderer,
const struct st_framebuffer *stfb,
const struct vg_state *state);
+void renderer_validate_for_shader(struct renderer *renderer,
+ const struct pipe_sampler_state **samplers,
+ struct pipe_sampler_view **views,
+ VGint num_samplers,
+ void *fs,
+ const void *const_buffer,
+ VGint const_buffer_len);
+
VGboolean renderer_copy_begin(struct renderer *renderer,
struct pipe_surface *dst,
VGboolean y0_top,