#include "libANGLE/HandleAllocator.h"
#include <algorithm>
#include <functional>
#include <limits>
#include "common/debug.h"
namespace gl
{
struct HandleAllocator::HandleRangeComparator
{ … };
HandleAllocator::HandleAllocator()
: … { … }
HandleAllocator::HandleAllocator(GLuint maximumHandleValue)
: … { … }
HandleAllocator::~HandleAllocator() { … }
void HandleAllocator::setBaseHandle(GLuint value)
{ … }
GLuint HandleAllocator::allocate()
{ … }
void HandleAllocator::release(GLuint handle)
{ … }
void HandleAllocator::reserve(GLuint handle)
{ … }
void HandleAllocator::reset()
{ … }
bool HandleAllocator::anyHandleAvailableForAllocation() const
{ … }
void HandleAllocator::enableLogging(bool enabled)
{ … }
}