summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_state.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-06-12 01:34:54 +0200
committerJakob Bornecrantz <[email protected]>2010-06-22 20:04:55 +0200
commite694f3fd4865f7e85cf1d4c9fe5789fad399dbc6 (patch)
treee781b0e3e69f4f95682983e757e7af6b24ab0882 /src/gallium/drivers/i915/i915_state.h
parented675bb460f604bab0a66e8b88d671c78f448008 (diff)
i915g: Switch to state atoms
Diffstat (limited to 'src/gallium/drivers/i915/i915_state.h')
-rw-r--r--src/gallium/drivers/i915/i915_state.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/gallium/drivers/i915/i915_state.h b/src/gallium/drivers/i915/i915_state.h
index 86c6b0027d5..7795046f06d 100644
--- a/src/gallium/drivers/i915/i915_state.h
+++ b/src/gallium/drivers/i915/i915_state.h
@@ -35,16 +35,21 @@ struct i915_context;
struct i915_tracked_state {
+ const char *name;
+ void (*update)(struct i915_context *);
unsigned dirty;
- void (*update)( struct i915_context * );
};
-void i915_update_immediate( struct i915_context *i915 );
-void i915_update_dynamic( struct i915_context *i915 );
-void i915_update_derived( struct i915_context *i915 );
-void i915_update_samplers( struct i915_context *i915 );
-void i915_update_textures(struct i915_context *i915);
+extern struct i915_tracked_state i915_update_vertex_layout;
-void i915_emit_hardware_state( struct i915_context *i915 );
+extern struct i915_tracked_state i915_hw_samplers;
+extern struct i915_tracked_state i915_hw_sampler_views;
+extern struct i915_tracked_state i915_hw_immediate;
+extern struct i915_tracked_state i915_hw_dynamic;
+extern struct i915_tracked_state i915_hw_fs;
+extern struct i915_tracked_state i915_hw_framebuffer;
+
+void i915_update_derived(struct i915_context *i915);
+void i915_emit_hardware_state(struct i915_context *i915);
#endif