summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-05-12 13:08:02 +0200
committerMarek Olšák <[email protected]>2012-05-12 23:13:45 +0200
commitb496136af84e396e7890082817b563dc53ac36fc (patch)
tree4ea3cc3f6e964e3452c7bbf18ac0b3b4c25e9e18 /src/gallium/auxiliary/util
parent1a840cc5925f52079916feb2c456816a7a91d627 (diff)
gallium: remove user_buffer_create from the interface
Nothing uses it now.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_inlines.h8
-rw-r--r--src/gallium/auxiliary/util/u_slab.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h
index 2ec1ccfe9d3..2ec153c5823 100644
--- a/src/gallium/auxiliary/util/u_inlines.h
+++ b/src/gallium/auxiliary/util/u_inlines.h
@@ -233,14 +233,6 @@ pipe_buffer_create( struct pipe_screen *screen,
return screen->resource_create(screen, &buffer);
}
-
-static INLINE struct pipe_resource *
-pipe_user_buffer_create( struct pipe_screen *screen, void *ptr, unsigned size,
- unsigned usage )
-{
- return screen->user_buffer_create(screen, ptr, size, usage);
-}
-
static INLINE void *
pipe_buffer_map_range(struct pipe_context *pipe,
struct pipe_resource *buffer,
diff --git a/src/gallium/auxiliary/util/u_slab.h b/src/gallium/auxiliary/util/u_slab.h
index 6b9718d08a7..3ed8b12d357 100644
--- a/src/gallium/auxiliary/util/u_slab.h
+++ b/src/gallium/auxiliary/util/u_slab.h
@@ -28,7 +28,7 @@
* Good for allocations which have very low lifetime and are allocated
* and freed very often. Use a profiler first to know if it's worth using it!
*
- * Candidates: get_transfer, user_buffer_create
+ * Candidates: get_transfer
*
* @author Marek Olšák
*/