diff options
author | Daniel Vetter <[email protected]> | 2011-02-26 15:24:51 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-02-27 15:58:03 +0100 |
commit | beaf039f972490bc62ec87401441d4b754ae86b0 (patch) | |
tree | f9d16a829951c21535d01e9c71c95cf40be29a4f /src/gallium/drivers/i915/i915_context.h | |
parent | a385ac62070fa68052c77df7be62685bf6a58992 (diff) |
i915g: cleanup static state calculation, part 1
Move it to i915_state_static.c This way i915_emit_state.c only emits
state and doesn't (re)calculate it.
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index 2cf53424f06..46c09871ffd 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -150,6 +150,13 @@ struct i915_state /** Describes the current hardware vertex layout */ struct vertex_info vertex_info; + /* static state (dst/depth buffer state) */ + struct i915_winsys_buffer *cbuf_bo; + unsigned cbuf_flags; + struct i915_winsys_buffer *depth_bo; + unsigned depth_flags; + unsigned dst_buf_vars; + unsigned id; /* track lost context events */ }; |