summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/renderer.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-28 01:58:05 +0800
committerChia-I Wu <[email protected]>2010-12-01 11:23:50 +0800
commitb730f0fc52a208b5f2a308199724ab02aa391fec (patch)
treea9b1bf0391003432042db1a6baae43c69892d655 /src/gallium/state_trackers/vega/renderer.h
parent96c6637a1360f146bbf49ffb207ae943ecbbdf49 (diff)
st/vega: Move g3d states to renderer.
Let vg_context focus on OpenVG states and renderer focus on gallium states.
Diffstat (limited to 'src/gallium/state_trackers/vega/renderer.h')
-rw-r--r--src/gallium/state_trackers/vega/renderer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/renderer.h b/src/gallium/state_trackers/vega/renderer.h
index 8d13c02f3be..763e57def58 100644
--- a/src/gallium/state_trackers/vega/renderer.h
+++ b/src/gallium/state_trackers/vega/renderer.h
@@ -33,6 +33,8 @@
struct renderer;
struct vg_context;
+struct vg_state;
+struct st_framebuffer;
struct pipe_resource;
struct pipe_sampler_state;
struct pipe_sampler_view;
@@ -43,6 +45,11 @@ struct pipe_vertex_buffer;
struct renderer *renderer_create(struct vg_context *owner);
void renderer_destroy(struct renderer *);
+void renderer_validate(struct renderer *renderer,
+ VGbitfield dirty,
+ const struct st_framebuffer *stfb,
+ const struct vg_state *state);
+
VGboolean renderer_copy_begin(struct renderer *renderer,
struct pipe_surface *dst,
VGboolean y0_top,