|
| void | GPU_Init (Handle *gsphandle) |
| |
| void | GPUCMD_SetBuffer (u32 *adr, u32 size, u32 offset) |
| |
| void | GPUCMD_SetBufferOffset (u32 offset) |
| |
| void | GPUCMD_GetBuffer (u32 **adr, u32 *size, u32 *offset) |
| |
| void | GPUCMD_AddRawCommands (u32 *cmd, u32 size) |
| |
| void | GPUCMD_Run (u32 *gxbuf) |
| |
| void | GPUCMD_FlushAndRun (u32 *gxbuf) |
| |
| void | GPUCMD_Add (u32 cmd, u32 *param, u32 paramlength) |
| |
| void | GPUCMD_AddSingleParam (u32 cmd, u32 param) |
| |
| void | GPUCMD_Finalize () |
| |
| void | GPU_Reset (u32 *gxbuf, u32 *gpuBuf, u32 gpuBufSize) |
| |
| void | GPU_SetUniform (u32 startreg, u32 *data, u32 numreg) |
| |
| u32 | f32tof24 (float f) |
| |
| u32 | computeInvValue (u32 val) |
| |
| void | GPU_SetViewport (u32 *depthBuffer, u32 *colorBuffer, u32 x, u32 y, u32 w, u32 h) |
| |
| void | GPU_SetScissorTest (GPU_SCISSORMODE mode, u32 x, u32 y, u32 w, u32 h) |
| |
| void | GPU_DepthRange (float nearVal, float farVal) |
| |
| void | GPU_SetAlphaTest (bool enable, GPU_TESTFUNC function, u8 ref) |
| |
| void | GPU_SetStencilTest (bool enable, GPU_TESTFUNC function, u8 ref, u8 mask, u8 replace) |
| |
| void | GPU_SetStencilOp (GPU_STENCILOP sfail, GPU_STENCILOP dfail, GPU_STENCILOP pass) |
| |
| void | GPU_SetDepthTestAndWriteMask (bool enable, GPU_TESTFUNC function, GPU_WRITEMASK writemask) |
| |
| void | GPU_SetAlphaBlending (GPU_BLENDEQUATION colorEquation, GPU_BLENDEQUATION alphaEquation, GPU_BLENDFACTOR colorSrc, GPU_BLENDFACTOR colorDst, GPU_BLENDFACTOR alphaSrc, GPU_BLENDFACTOR alphaDst) |
| |
| void | GPU_SetColorLogicOp (GPU_LOGICOP op) |
| |
| void | GPU_SetBlendingColor (u8 r, u8 g, u8 b, u8 a) |
| |
| void | GPU_SetTextureEnable (GPU_TEXUNIT units) |
| |
| void | GPU_SetTexture (GPU_TEXUNIT unit, u32 *data, u16 width, u16 height, u32 param, GPU_TEXCOLOR colorType) |
| |
| void | GPU_SetAttributeBuffers (u8 totalAttributes, u32 *baseAddress, u64 attributeFormats, u16 attributeMask, u64 attributePermutation, u8 numBuffers, u32 bufferOffsets[], u64 bufferPermutations[], u8 bufferNumAttributes[]) |
| |
| void | GPU_SetAttributeBuffersAddress (u32 *baseAddress) |
| |
| void | GPU_SetFaceCulling (GPU_CULLMODE mode) |
| |
| void | GPU_SetTexEnv (u8 id, u16 rgbSources, u16 alphaSources, u16 rgbOperands, u16 alphaOperands, GPU_COMBINEFUNC rgbCombine, GPU_COMBINEFUNC alphaCombine, u32 constantColor) |
| |
| void | GPU_DrawArray (GPU_Primitive_t primitive, u32 n) |
| |
| void | GPU_DrawElements (GPU_Primitive_t primitive, u32 *indexArray, u32 n) |
| |
| void | GPU_FinishDrawing () |
| |