summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.h
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-03 20:58:31 +0200
committerPatrice Mandin <[email protected]>2008-07-03 20:58:31 +0200
commit36488ed052a18f7eafef1d1c5c18b20ad508b2b7 (patch)
treebc0908481856abab317551a53da1016a9b61aa8c /src/gallium/drivers/nv30/nv30_context.h
parent9833aec6cbd113d24277aa5da8625c1427d831ca (diff)
nv30: Emit framebuffer state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.h')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.h b/src/gallium/drivers/nv30/nv30_context.h
index dce077b2b4b..4a6c1d2f47b 100644
--- a/src/gallium/drivers/nv30/nv30_context.h
+++ b/src/gallium/drivers/nv30/nv30_context.h
@@ -99,6 +99,7 @@ struct nv30_state {
unsigned stipple_enabled;
unsigned viewport_bypass;
+ uint64_t dirty;
struct nouveau_stateobj *hw[NV30_STATE_MAX];
};
@@ -208,8 +209,10 @@ extern void nv30_fragprog_destroy(struct nv30_context *,
extern void nv30_fragtex_bind(struct nv30_context *);
/* nv30_state.c and friends */
+extern boolean nv30_state_validate(struct nv30_context *nv30);
extern void nv30_emit_hw_state(struct nv30_context *nv30);
extern void nv30_state_tex_update(struct nv30_context *nv30);
+extern struct nv30_state_entry nv30_state_framebuffer;
/* nv30_vbo.c */
extern boolean nv30_draw_arrays(struct pipe_context *, unsigned mode,