aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_screen.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-12-03 19:42:45 +0100
committerJakob Bornecrantz <[email protected]>2011-01-21 20:53:29 +0100
commit7287964f944d7e2bcf409b758163ab75c61b0f8e (patch)
treed5a9c1a26bacb968e5df8c87a15368206af80b35 /src/gallium/drivers/i915/i915_screen.h
parent484edfc8151ddf63d3e0e7be3b4c8fa3906a0ec9 (diff)
i915g: Use slab allocator for transfers
Also remove unused i915_transfer struct
Diffstat (limited to 'src/gallium/drivers/i915/i915_screen.h')
-rw-r--r--src/gallium/drivers/i915/i915_screen.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.h b/src/gallium/drivers/i915/i915_screen.h
index 0c4186c68ee..bb4d255a3b3 100644
--- a/src/gallium/drivers/i915/i915_screen.h
+++ b/src/gallium/drivers/i915/i915_screen.h
@@ -47,16 +47,6 @@ struct i915_screen
boolean is_i945;
};
-/**
- * Subclass of pipe_transfer
- */
-struct i915_transfer
-{
- struct pipe_transfer base;
-
- unsigned offset;
-};
-
/*
* Cast wrappers
@@ -69,11 +59,5 @@ i915_screen(struct pipe_screen *pscreen)
return (struct i915_screen *) pscreen;
}
-static INLINE struct i915_transfer *
-i915_transfer(struct pipe_transfer *transfer)
-{
- return (struct i915_transfer *)transfer;
-}
-
#endif /* I915_SCREEN_H */