From b496136af84e396e7890082817b563dc53ac36fc Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 12 May 2012 13:08:02 +0200 Subject: gallium: remove user_buffer_create from the interface Nothing uses it now. --- src/gallium/auxiliary/util/u_inlines.h | 8 -------- src/gallium/auxiliary/util/u_slab.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/gallium/auxiliary/util') 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 */ -- cgit v1.2.3