diff options
author | Daniel Vetter <[email protected]> | 2011-02-27 21:57:31 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-02-27 21:57:31 +0100 |
commit | 342016010a515ccc4492924ca260d7ff76ecb1b5 (patch) | |
tree | a58556c2f9e0dad81fe999a748677d4c94d3b967 /src/gallium/drivers/i915/i915_context.h | |
parent | 3c59b3eb4b6f4f673106d738b62458e6b0b38d46 (diff) |
i915g: buffer validation for render state
Also contains the first few bits for hw state atoms.
v2: Implement suggestion by Jakob Bornecrantz.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index 4243dfaff89..f264b0611e6 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -247,6 +247,9 @@ struct i915_context { unsigned immediate_dirty; unsigned dynamic_dirty; + struct i915_winsys_buffer *validation_buffers[2 + 1 + I915_TEX_UNITS]; + int num_validation_buffers; + struct util_slab_mempool transfer_pool; }; |