webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Attributes | List of all members
gl::HandleRangeAllocator Class Referencefinal

#include <HandleRangeAllocator.h>

Inheritance diagram for gl::HandleRangeAllocator:
angle::NonCopyable

Public Member Functions

 HandleRangeAllocator ()
 
GLuint allocate ()
 
GLuint allocateAtOrAbove (GLuint wanted)
 
GLuint allocateRange (GLuint range)
 
bool markAsUsed (GLuint handle)
 
void release (GLuint handle)
 
void releaseRange (GLuint first, GLuint range)
 
bool isUsed (GLuint handle) const
 

Static Public Attributes

static const GLuint kInvalidHandle = 0
 

Constructor & Destructor Documentation

◆ HandleRangeAllocator()

gl::HandleRangeAllocator::HandleRangeAllocator ( )

Member Function Documentation

◆ allocate()

GLuint gl::HandleRangeAllocator::allocate ( )

◆ allocateAtOrAbove()

GLuint gl::HandleRangeAllocator::allocateAtOrAbove ( GLuint  wanted)

◆ allocateRange()

GLuint gl::HandleRangeAllocator::allocateRange ( GLuint  range)

◆ isUsed()

bool gl::HandleRangeAllocator::isUsed ( GLuint  handle) const

◆ markAsUsed()

bool gl::HandleRangeAllocator::markAsUsed ( GLuint  handle)

◆ release()

void gl::HandleRangeAllocator::release ( GLuint  handle)

◆ releaseRange()

void gl::HandleRangeAllocator::releaseRange ( GLuint  first,
GLuint  range 
)

Member Data Documentation

◆ kInvalidHandle

const GLuint gl::HandleRangeAllocator::kInvalidHandle = 0
static

The documentation for this class was generated from the following files: