typedef struct _GDLObj {
u8 *start;
u32 length;
u8 *ptr;
u8 *top;
} GDLObj;
This structure contains information related to a graphics display list. This structure should be initialized with the GDInitGDLObj function.
The start field indicates the location of the buffer that stores the actual display list commands. It must be 32-byte aligned.
The length field indicates the size of the buffer. It must be a multiple of 32.
The ptr field indicates the current location pointer for this GDLObj. The pointer should always point between start and top.
top should always be set to (start + length). This structure is used to check overflow.
GDInitGDLObj
GDGetGDLObjStart
GDGetGDLObjLength
GDGetGDLObjPointer
GDGetGDLObjOffset
GDSetCurrent
GDGetCurrent
GDIsCurrent
(All of the GD graphics commands implicitly use the current GDLObj.)
03/01/2006 Initial version.