Go to the source code of this file.
|
| enum | GSP_FramebufferFormats {
GSP_RGBA8_OES =0,
GSP_BGR8_OES =1,
GSP_RGB565_OES =2,
GSP_RGB5_A1_OES =3,
GSP_RGBA4_OES =4
} |
| |
| enum | GSP_Event {
GSPEVENT_PSC0 = 0,
GSPEVENT_PSC1,
GSPEVENT_VBlank0,
GSPEVENT_VBlank1,
GSPEVENT_PPF,
GSPEVENT_P3D,
GSPEVENT_DMA,
GSPEVENT_MAX
} |
| |
|
| Result | gspInit () |
| |
| void | gspExit () |
| |
| Result | gspInitEventHandler (Handle gspEvent, vu8 *gspSharedMem, u8 gspThreadId) |
| |
| void | gspExitEventHandler () |
| |
| void | gspWaitForEvent (GSP_Event id, bool nextEvent) |
| |
| Result | GSPGPU_AcquireRight (Handle *handle, u8 flags) |
| |
| Result | GSPGPU_ReleaseRight (Handle *handle) |
| |
| Result | GSPGPU_ImportDisplayCaptureInfo (Handle *handle, GSP_CaptureInfo *captureinfo) |
| |
| Result | GSPGPU_SaveVramSysArea (Handle *handle) |
| |
| Result | GSPGPU_RestoreVramSysArea (Handle *handle) |
| |
| Result | GSPGPU_SetLcdForceBlack (Handle *handle, u8 flags) |
| |
| Result | GSPGPU_SetBufferSwap (Handle *handle, u32 screenid, GSP_FramebufferInfo *framebufinfo) |
| |
| Result | GSPGPU_FlushDataCache (Handle *handle, u8 *adr, u32 size) |
| |
| Result | GSPGPU_InvalidateDataCache (Handle *handle, u8 *adr, u32 size) |
| |
| Result | GSPGPU_WriteHWRegs (Handle *handle, u32 regAddr, u32 *data, u8 size) |
| |
| Result | GSPGPU_WriteHWRegsWithMask (Handle *handle, u32 regAddr, u32 *data, u8 datasize, u32 *maskdata, u8 masksize) |
| |
| Result | GSPGPU_ReadHWRegs (Handle *handle, u32 regAddr, u32 *data, u8 size) |
| |
| Result | GSPGPU_RegisterInterruptRelayQueue (Handle *handle, Handle eventHandle, u32 flags, Handle *outMemHandle, u8 *threadID) |
| |
| Result | GSPGPU_UnregisterInterruptRelayQueue (Handle *handle) |
| |
| Result | GSPGPU_TriggerCmdReqQueue (Handle *handle) |
| |
| Result | GSPGPU_SubmitGxCommand (u32 *sharedGspCmdBuf, u32 gxCommand[0x8], Handle *handle) |
| |
| #define GSP_REBASE_REG |
( |
|
r | ) |
((r)-0x1EB00000) |
Definition at line 3 of file gsp.h.
Definition at line 64 of file gsp.h.
Definition at line 63 of file gsp.h.
Definition at line 62 of file gsp.h.
Definition at line 57 of file gsp.h.
Definition at line 58 of file gsp.h.
Definition at line 59 of file gsp.h.
Definition at line 60 of file gsp.h.
Definition at line 61 of file gsp.h.
| Enumerator |
|---|
| GSPEVENT_PSC0 |
|
| GSPEVENT_PSC1 |
|
| GSPEVENT_VBlank0 |
|
| GSPEVENT_VBlank1 |
|
| GSPEVENT_PPF |
|
| GSPEVENT_P3D |
|
| GSPEVENT_DMA |
|
| GSPEVENT_MAX |
|
Definition at line 38 of file gsp.h.
| Enumerator |
|---|
| GSP_RGBA8_OES |
|
| GSP_BGR8_OES |
|
| GSP_RGB565_OES |
|
| GSP_RGB5_A1_OES |
|
| GSP_RGBA4_OES |
|
Definition at line 16 of file gsp.h.
Definition at line 28 of file gsp.c.
| void gspExitEventHandler |
( |
| ) |
|
Definition at line 57 of file gsp.c.
| Result GSPGPU_SubmitGxCommand |
( |
u32 * |
sharedGspCmdBuf, |
|
|
u32 |
gxCommand[0x8], |
|
|
Handle * |
handle |
|
) |
| |
| Result GSPGPU_UnregisterInterruptRelayQueue |
( |
Handle * |
handle | ) |
|
Definition at line 23 of file gsp.c.
Definition at line 33 of file gsp.c.
| void gspWaitForEvent |
( |
GSP_Event |
id, |
|
|
bool |
nextEvent |
|
) |
| |
Definition at line 70 of file gsp.c.
Definition at line 29 of file gsp.h.
Definition at line 28 of file gsp.h.
| u32 framebuf_widthbytesize |
Definition at line 30 of file gsp.h.
Definition at line 31 of file gsp.h.
Initial value:
Definition at line 26 of file gsp.h.