GLSL: Remove unused RecursiveMemoryPool

Change-Id: Id9a94e095d6f316a947750d77246393c02db63ad
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Nikolai Kosjar
2015-02-05 16:37:54 +01:00
parent 9762afba60
commit b1e36da139
2 changed files with 0 additions and 30 deletions

View File

@@ -89,21 +89,6 @@ void *MemoryPool::allocate_helper(size_t size)
return addr; return addr;
} }
RecursiveMemoryPool::RecursiveMemoryPool(MemoryPool *pool)
: _pool(pool),
_blockCount(pool->_blockCount),
_ptr(pool->_ptr),
_end(pool->_end)
{
}
RecursiveMemoryPool::~RecursiveMemoryPool()
{
_pool->_blockCount = _blockCount;
_pool->_ptr = _ptr;
_pool->_end = _end;
}
Managed::Managed() Managed::Managed()
{ } { }

View File

@@ -37,7 +37,6 @@
namespace GLSL { namespace GLSL {
class MemoryPool; class MemoryPool;
class RecursiveMemoryPool;
class GLSL_EXPORT MemoryPool class GLSL_EXPORT MemoryPool
{ {
@@ -76,20 +75,6 @@ private:
BLOCK_SIZE = 8 * 1024, BLOCK_SIZE = 8 * 1024,
DEFAULT_BLOCK_COUNT = 8 DEFAULT_BLOCK_COUNT = 8
}; };
friend class RecursiveMemoryPool;
};
class GLSL_EXPORT RecursiveMemoryPool
{
MemoryPool *_pool;
int _blockCount;
char *_ptr;
char *_end;
public:
RecursiveMemoryPool(MemoryPool *pool);
~RecursiveMemoryPool();
}; };
class GLSL_EXPORT Managed class GLSL_EXPORT Managed