[Mesa-dev] [PATCH 5/5] Remove compute_memory_defrag declaration

Bruno Jiménez brunojimen at gmail.com
Fri Jan 3 16:27:33 PST 2014


It seems to be unimplemented.

I think that this function would have been the one that
solves the problem with fragmentation that
compute_memory_finalize_pending has.
---
 src/gallium/drivers/r600/compute_memory_pool.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/r600/compute_memory_pool.h b/src/gallium/drivers/r600/compute_memory_pool.h
index 5354b9a..8f1abdc 100644
--- a/src/gallium/drivers/r600/compute_memory_pool.h
+++ b/src/gallium/drivers/r600/compute_memory_pool.h
@@ -83,7 +83,6 @@ void compute_memory_shadow(struct compute_memory_pool* pool,
  */
 int compute_memory_finalize_pending(struct compute_memory_pool* pool,
 	struct pipe_context * pipe);
-void compute_memory_defrag(struct compute_memory_pool* pool); ///Defragment the memory pool, always heavy memory usage
 void compute_memory_free(struct compute_memory_pool* pool, int64_t id);
 struct compute_memory_item* compute_memory_alloc(struct compute_memory_pool* pool, int64_t size_in_dw); ///Creates pending allocations
 
-- 
1.8.5.2



More information about the mesa-dev mailing list