diff options
author | Jakob Bornecrantz <[email protected]> | 2010-12-03 19:42:45 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2011-01-21 20:53:29 +0100 |
commit | 7287964f944d7e2bcf409b758163ab75c61b0f8e (patch) | |
tree | d5a9c1a26bacb968e5df8c87a15368206af80b35 /src/gallium/drivers/i915/i915_context.h | |
parent | 484edfc8151ddf63d3e0e7be3b4c8fa3906a0ec9 (diff) |
i915g: Use slab allocator for transfers
Also remove unused i915_transfer struct
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h index d15e1723d83..1bf9cde4d4d 100644 --- a/src/gallium/drivers/i915/i915_context.h +++ b/src/gallium/drivers/i915/i915_context.h @@ -37,6 +37,8 @@ #include "tgsi/tgsi_scan.h" +#include "util/u_slab.h" + struct i915_winsys; struct i915_winsys_buffer; @@ -237,6 +239,8 @@ struct i915_context { struct i915_state current; unsigned hardware_dirty; + + struct util_slab_mempool transfer_pool; }; /* A flag for each state_tracker state object: |