GLUS
|
#include "GL/glus.h"
Data Structures | |
struct | _GLUSmemoryTable |
Structure for the memory table entry. More... | |
Macros | |
#define | GLUS_ALIGNMENT 4 |
#define | GLUS_MEMORY_SIZE (128*1024*1024/GLUS_ALIGNMENT) |
#define | GLUS_MEMORY_TABLE_ENTRIES 1024 |
#define | GLUS_VALID_AND_FREE 1 |
#define | GLUS_VALID_AND_LOCKED 2 |
#define | GLUS_INVALID 3 |
Typedefs | |
typedef struct _GLUSmemoryTable | GLUSmemoryTable |
Structure for the memory table entry. More... | |
Functions | |
void *GLUSAPIENTRY | glusMemoryMalloc (size_t size) |
Allocate memory block. More... | |
void GLUSAPIENTRY | glusMemoryFree (void *pointer) |
Deallocate memory block. More... | |
#define GLUS_ALIGNMENT 4 |
#define GLUS_INVALID 3 |
#define GLUS_MEMORY_SIZE (128*1024*1024/GLUS_ALIGNMENT) |
#define GLUS_MEMORY_TABLE_ENTRIES 1024 |
#define GLUS_VALID_AND_FREE 1 |
#define GLUS_VALID_AND_LOCKED 2 |
typedef struct _GLUSmemoryTable GLUSmemoryTable |
Structure for the memory table entry.
void GLUSAPIENTRY glusMemoryFree | ( | void * | pointer | ) |
Deallocate memory block.
pointer | Pointer to a memory block previously allocated with glusMalloc. |
void* GLUSAPIENTRY glusMemoryMalloc | ( | size_t | size | ) |
Allocate memory block.
size | Size of the memory block in bytes. |