Graphics Display List Library (GD) API Function List

Basic Functions

GDInitGDLObj This function initializes a GDLObj -- an object used to manage display lists (DLs).
GDGetGDLObjStart Returns a pointer to the memory buffer associated with the DL object.
GDGetGDLObjLength Returns the length of the memory buffer associated with the DL object.
GDGetGDLObjPointer Returns a pointer to the current position of the DL object.
GDGetGDLObjOffset This function returns the offset (from the start of the buffer) of the current location pointer for the DL object. 
GDSetCurrent Sets the specified GDLObj as the current GDLObj.
GDGetCurrent Returns a pointer to the current GDLObj structure.
GDIsCurrent Returns whether or not the GDLObj is current.
GDPadCurr32 The memory buffer of the current DL object is padded with zeros so that it is 32-byte aligned.
GDFlushCurrToMem This function makes sure that the memory buffer for the current DL object is flushed out of the CPU cache and into main memory.
GDSetCurrOffset Returns a current location pointer to the current DL object.
GDAdvCurrOffset The current location pointer to the current DL object can be adjusted.
GDGetCurrOffset This function returns the offset (from the start of the buffer) of the current location pointer for the current DL object. 
GDGetCurrPointer Returns the current location pointer to the current DL object.
GDGetCurrStart Returns a pointer to the memory buffer associated with the current DL object.
GDGetCurrLength This function returns the length (size) of the memory buffer associated with the current DL object.
GDSetOverflowCallback A callback function can be registered to be called when DL overflows.
GDGetOverflowCallback This function allows you to get a pointer to the current overflow callback that GD library will invoke when a DL overflows.

CONFIDENTIAL