My Project
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
gx.h
Go to the documentation of this file.
1 #pragma once
2 
3 #define GX_BUFFER_DIM(w, h) (((h)<<16)|((w)&0xFFFF))
4 
5 Result GX_RequestDma(u32* gxbuf, u32* src, u32* dst, u32 length);
6 Result GX_SetCommandList_Last(u32* gxbuf, u32* buf0a, u32 buf0s, u8 flags);
7 Result GX_SetMemoryFill(u32* gxbuf, u32* buf0a, u32 buf0v, u32* buf0e, u16 width0, u32* buf1a, u32 buf1v, u32* buf1e, u16 width1);
8 Result GX_SetDisplayTransfer(u32* gxbuf, u32* inadr, u32 indim, u32* outadr, u32 outdim, u32 flags);
9 Result GX_SetTextureCopy(u32* gxbuf, u32* inadr, u32 indim, u32* outadr, u32 outdim, u32 size, u32 flags);
10 Result GX_SetCommandList_First(u32* gxbuf, u32* buf0a, u32 buf0s, u32* buf1a, u32 buf1s, u32* buf2a, u32 buf2s);
s32 Result
Definition: types.h:42
Result GX_RequestDma(u32 *gxbuf, u32 *src, u32 *dst, u32 length)
Definition: gx.c:10
uint16_t u16
Definition: types.h:22
Result GX_SetCommandList_First(u32 *gxbuf, u32 *buf0a, u32 buf0s, u32 *buf1a, u32 buf1s, u32 *buf2a, u32 buf2s)
Definition: gx.c:91
uint8_t u8
Definition: types.h:21
Result GX_SetMemoryFill(u32 *gxbuf, u32 *buf0a, u32 buf0v, u32 *buf0e, u16 width0, u32 *buf1a, u32 buf1v, u32 *buf1e, u16 width1)
Definition: gx.c:39
uint32_t u32
Definition: types.h:23
Result GX_SetCommandList_Last(u32 *gxbuf, u32 *buf0a, u32 buf0s, u8 flags)
Definition: gx.c:24
Result GX_SetDisplayTransfer(u32 *gxbuf, u32 *inadr, u32 indim, u32 *outadr, u32 outdim, u32 flags)
Definition: gx.c:58
Result GX_SetTextureCopy(u32 *gxbuf, u32 *inadr, u32 indim, u32 *outadr, u32 outdim, u32 size, u32 flags)
Definition: gx.c:74