summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-02-26 15:53:01 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-02-27 15:58:13 +0100
commitf58c11af72303a7b8ec480b4f216e4a17882e0f4 (patch)
treeab53c36e3af533f9bb324365b5a7c9929283626b /src/gallium/drivers/i915/i915_context.h
parentbeaf039f972490bc62ec87401441d4b754ae86b0 (diff)
i915g: cleanup static state calculation, part 2
Now also for the DRAW_RECT command Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r--src/gallium/drivers/i915/i915_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h
index 46c09871ff..4243dfaff8 100644
--- a/src/gallium/drivers/i915/i915_context.h
+++ b/src/gallium/drivers/i915/i915_context.h
@@ -156,6 +156,8 @@ struct i915_state
struct i915_winsys_buffer *depth_bo;
unsigned depth_flags;
unsigned dst_buf_vars;
+ uint32_t draw_offset;
+ uint32_t draw_size;
unsigned id; /* track lost context events */
};