117 void rsxSetupContextData(
gcmContextData *context,
const u32 *addr,
const u32 size,gcmContextCallback cb);
132 return (s32)(f*1048576.0f);
138 return (u16)(f*16.0f);
static s32 rsxGetFixedSint32(const f32 f)
Convert a floating point coordinate into 32-bit signed fixed point format.
Definition: rsx.h:130
static s32 rsxAddressToOffset(void *ptr, u32 *offset)
Converts a pointer value in RSX memory to an offset.
Definition: rsx.h:124
RSX shader programming management.
static u16 rsxGetFixedUint16(const f32 f)
Convert a floating point coordinate into 16-bit unsigned fixed point format.
Definition: rsx.h:136
RSX Context data structure.
Definition: gcm_sys.h:412
void rsxFlushBuffer(gcmContextData *context)
Flushes the RSX command buffer.
void rsxResetCommandBuffer(gcmContextData *context)
Reset the RSX command buffer.
gcmContextData * rsxInit(const u32 cmdSize, const u32 ioSize, const void *ioAddress)
Initialize the RSX context and the RSX memory manager.
s32 gcmAddressToOffset(void *address, u32 *offset)
Converts an effective address in RSX memory to an offset.
RSX low level management.