GDLObj

Syntax

typedef struct _GDLObj {
    u8  *start;
    u32  length;
    u8  *ptr;
    u8  *top;
} GDLObj;

Description

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.

The top field should always be set to (start + length). This structure is used for overflow checking.

Functions That Use This Structure

GDInitGDLObj, GDGetGDLObjStart, GDGetGDLObjLength, GDGetGDLObjPointer, GDGetGDLObjOffset, GDSetCurrent, GDGetCurrent, GDIsCurrent

(All of the GD graphics commands implicitly use the current GDLObj.))

Revision History

2006/03/01 Initial version.


CONFIDENTIAL