const TilerMemoryMgr_MAX_NAME_LENGTH |
 |
#define TilerMemoryMgr_MAX_NAME_LENGTH (UInt8)32
const TilerMemoryMgr_MAX_TILER_BLOCKS |
 |
#define TilerMemoryMgr_MAX_TILER_BLOCKS (UInt8)10
enum TilerMemoryMgr_AddrType |
 |
typedef enum TilerMemoryMgr_AddrType {
TilerMemoryMgr_AddrType_Virtual,
TilerMemoryMgr_AddrType_Portable,
TilerMemoryMgr_AddrType_EndValue
} TilerMemoryMgr_AddrType;
enum TilerMemoryMgr_Type |
 |
typedef enum TilerMemoryMgr_Type {
TilerMemoryMgr_TYPE_SHAREDMEM,
TilerMemoryMgr_TYPE_TILERMEM,
TilerMemoryMgr_TYPE_NONE
} TilerMemoryMgr_Type;
struct TilerMemoryMgr_AllocBlock |
 |
typedef struct TilerMemoryMgr_AllocBlock {
UInt16 pixelFormat;
union {
struct {
UInt16 width;
UInt16 height;
} area;
UInt16 len;
} dim;
UInt32 stride;
} TilerMemoryMgr_AllocBlock;
struct TilerMemoryMgr_allocParams |
 |
typedef struct TilerMemoryMgr_allocParams {
UInt32 size;
UInt32 align;
UInt32 tilerBlocks;
} TilerMemoryMgr_allocParams;
struct TilerMemoryMgr_createParams |
 |
typedef struct TilerMemoryMgr_createParams {
UInt32 size;
} TilerMemoryMgr_createParams;
struct TilerMemoryMgr_freeParams |
 |
typedef struct TilerMemoryMgr_freeParams {
Ptr ptr;
UInt32 size;
} TilerMemoryMgr_freeParams;
Module-Wide Built-Ins |
 |
// Get this module's unique id
Bool TilerMemoryMgr_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool TilerMemoryMgr_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 TilerMemoryMgr_Module_getMask();
// Returns the diagnostics mask for this module
Void TilerMemoryMgr_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
Instance Object Types |
 |
typedef struct TilerMemoryMgr_Object TilerMemoryMgr_Object;
// Opaque internal representation of an instance object
// Client reference to an instance object
typedef struct TilerMemoryMgr_Struct TilerMemoryMgr_Struct;
// Opaque client structure large enough to hold an instance object
// Convert this instance structure pointer into an instance handle
// Convert this instance handle into an instance structure pointer
Instance Config Parameters |
 |
typedef struct TilerMemoryMgr_Params {
// Instance config-params structure
// Common per-instance configs
//
} TilerMemoryMgr_Params;
// Initialize this config-params structure with supplier-specified defaults before instance creation
config TilerMemoryMgr_heapHandle // instance |
 |
TilerMemoryMgr_alloc() // instance |
 |
ARGUMENTS
handle
handle of a previously-created TilerMemoryMgr instance object
TilerMemoryMgr_free() // instance |
 |
ARGUMENTS
handle
handle of a previously-created TilerMemoryMgr instance object
TilerMemoryMgr_translate() // instance |
 |
ARGUMENTS
handle
handle of a previously-created TilerMemoryMgr instance object
Instance Convertors |
 |
// unconditionally move one level up the inheritance hierarchy
// conditionally move one level down the inheritance hierarchy; NULL upon failure
Instance Built-Ins |
 |
Int TilerMemoryMgr_Object_count();
// The number of statically-created instance objects
// The handle of the i-th statically-created instance object (array == NULL)
// The handle of the first dynamically-created instance object, or NULL
// The handle of the next dynamically-created instance object, or NULL
// The heap used to allocate dynamically-created instance objects
// The label associated with this instance object
// The name of this instance object