ScummVM API documentation
VramAllocator Class Reference

#include <display_manager.h>

Inheritance diagram for VramAllocator:
Common::Singleton< VramAllocator > Common::NonCopyable

Public Member Functions

void * allocate (int32 size, bool smallAllocation=false)
 
void deallocate (void *pointer)
 

Static Public Member Functions

static bool isAddressInVram (void *address)
 
- Static Public Member Functions inherited from Common::Singleton< VramAllocator >
static bool hasInstance ()
 
static VramAllocatorinstance ()
 
static void destroy ()
 

Additional Inherited Members

- Protected Types inherited from Common::Singleton< VramAllocator >
typedef VramAllocator SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< VramAllocator >
static VramAllocator_singleton
 

Detailed Description

Class that allocates memory in the VRAM


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