ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Go to the source code of this file.
Functions | |
void | GsOverridePrimAttributes (s8 override, s8 iip, s8 tme, s8 fge, s8 abe, s8 aa1, s8 fst, s8 ctxt, s8 fix) |
void | GsEnableDithering (u8 enable, int mode) |
void | GsEnableAlphaTransparency1 (u16 enable, u16 method, u8 alpha_ref, u16 fail_method) |
void | GsEnableAlphaTransparency2 (u16 enable, u16 method, u8 alpha_ref, u16 fail_method) |
void | GsEnableZbuffer1 (u16 enable, u16 test_method) |
void | GsEnableZbuffer2 (u16 enable, u16 test_method) |
void | GsEnableAlphaBlending1 (u16 enable) |
void | GsEnableAlphaBlending2 (u16 enable) |
Variables | |
QWORD | GsPrimWorkArea [] |
static GS_TEST | GSGLOBAL_TEST1 |
static GS_TEST | GSGLOBAL_TEST2 |
void GsEnableAlphaBlending1 | ( | u16 | enable | ) |
Definition at line 137 of file primitives.c.
References gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_ALPHA_1, gs_setR_FBA_1, gs_setR_PABE, gs_setR_TEXA, GsDmaSend(), GsDmaWait(), GsPrimWorkArea, and UNCACHED_SEG.
Referenced by InitGraphics().
void GsEnableAlphaBlending2 | ( | u16 | enable | ) |
Definition at line 160 of file primitives.c.
References gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_ALPHA_2, gs_setR_FBA_2, gs_setR_PABE, gs_setR_TEXA, GsDmaSend(), GsDmaWait(), GsPrimWorkArea, and UNCACHED_SEG.
Referenced by InitGraphics().
Definition at line 72 of file primitives.c.
References GS_TEST::atest_enable, GS_TEST::atest_fail_method, GS_TEST::atest_method, GS_TEST::atest_reference, GS_TEST::datest_enable, GS_TEST::datest_mode, gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_TEXA, GsDmaSend(), GsDmaWait(), GSGLOBAL_TEST1, GsPrimWorkArea, GsSetPixelTest1(), UNCACHED_SEG, GS_TEST::ztest_enable, and GS_TEST::ztest_method.
Referenced by InitGraphics().
Definition at line 94 of file primitives.c.
References GS_TEST::atest_enable, GS_TEST::atest_fail_method, GS_TEST::atest_method, GS_TEST::atest_reference, GS_TEST::datest_enable, GS_TEST::datest_mode, gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_TEXA, GsDmaSend(), GsDmaWait(), GSGLOBAL_TEST2, GsPrimWorkArea, GsSetPixelTest2(), UNCACHED_SEG, GS_TEST::ztest_enable, and GS_TEST::ztest_method.
Referenced by InitGraphics().
void GsEnableDithering | ( | u8 | enable, |
int | mode | ||
) |
Definition at line 46 of file primitives.c.
References gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_COLCLAMP, gs_setR_DIMX, gs_setR_DTHE, GsDmaSend(), GsDmaWait(), GsPrimWorkArea, and UNCACHED_SEG.
Definition at line 116 of file primitives.c.
References GS_TEST::atest_enable, GS_TEST::atest_fail_method, GS_TEST::atest_method, GS_TEST::atest_reference, GS_TEST::datest_enable, GS_TEST::datest_mode, GSGLOBAL_TEST1, GsSetPixelTest1(), GS_TEST::ztest_enable, and GS_TEST::ztest_method.
Definition at line 126 of file primitives.c.
References GS_TEST::atest_enable, GS_TEST::atest_fail_method, GS_TEST::atest_method, GS_TEST::atest_reference, GS_TEST::datest_enable, GS_TEST::datest_mode, GSGLOBAL_TEST2, GsSetPixelTest2(), GS_TEST::ztest_enable, and GS_TEST::ztest_method.
void GsOverridePrimAttributes | ( | s8 | override, |
s8 | iip, | ||
s8 | tme, | ||
s8 | fge, | ||
s8 | abe, | ||
s8 | aa1, | ||
s8 | fst, | ||
s8 | ctxt, | ||
s8 | fix | ||
) |
Definition at line 23 of file primitives.c.
References gif_rd_ad, GS_GIF_PACKED, gs_setGIF_TAG, gs_setR_PRMODE, gs_setR_PRMODECONT, GsDmaSend(), GsDmaWait(), GsPrimWorkArea, and UNCACHED_SEG.
Referenced by InitGraphics().
|
static |
Definition at line 20 of file primitives.c.
Referenced by GsEnableAlphaTransparency1(), and GsEnableZbuffer1().
|
static |
Definition at line 21 of file primitives.c.
Referenced by GsEnableAlphaTransparency2(), and GsEnableZbuffer2().
|
extern |
Definition at line 18 of file packets.c.
Referenced by GsEnableAlphaBlending1(), GsEnableAlphaBlending2(), GsEnableAlphaTransparency1(), GsEnableAlphaTransparency2(), GsEnableDithering(), and GsOverridePrimAttributes().