SSBM Decomp
Loading...
Searching...
No Matches
GXMisc.c File Reference
#include <macros.h>
#include <stddef.h>
#include "__gx.h"
#include <dolphin/base/PPCArch.h>
#include <dolphin/gx.h>
#include <dolphin/os.h>

Functions

void GXSetMisc (GXMiscToken token, u32 val)
void GXFlush (void)
void GXResetWriteGatherPipe (void)
static void __GXAbortWait (u32 clocks)
void GXAbortFrame (void)
void GXSetDrawSync (u16 token)
u16 GXReadDrawSync (void)
void GXSetDrawDone (void)
void GXWaitDrawDone (void)
void GXDrawDone (void)
void GXPixModeSync (void)
void GXTexModeSync (void)
void GXPokeAlphaMode (GXCompare func, u8 threshold)
void GXPokeAlphaRead (GXAlphaReadMode mode)
void GXPokeAlphaUpdate (GXBool update_enable)
void GXPokeBlendMode (GXBlendMode type, GXBlendFactor src_factor, GXBlendFactor dst_factor, GXLogicOp op)
void GXPokeColorUpdate (GXBool update_enable)
void GXPokeDstAlpha (GXBool enable, u8 alpha)
void GXPokeDither (GXBool dither)
void GXPokeZMode (GXBool compare_enable, GXCompare func, GXBool update_enable)
void GXPeekARGB (u16 x, u16 y, u32 *color)
void GXPokeARGB (u16 x, u16 y, u32 color)
void GXPeekZ (u16 x, u16 y, u32 *z)
void GXPokeZ (u16 x, u16 y, u32 z)
GXDrawSyncCallback GXSetDrawSyncCallback (GXDrawSyncCallback cb)
static void GXTokenInterruptHandler (__OSInterrupt interrupt, OSContext *context)
GXDrawDoneCallback GXSetDrawDoneCallback (GXDrawDoneCallback cb)
static void GXFinishInterruptHandler (__OSInterrupt interrupt, OSContext *context)
void __GXPEInit (void)
u32 GXCompressZ16 (u32 z24, GXZFmt16 zfmt)
u32 GXDecompressZ16 (u32 z16, GXZFmt16 zfmt)

Variables

static GXDrawSyncCallback TokenCB
static GXDrawDoneCallback DrawDoneCB
static u8 DrawDone
static OSThreadQueue FinishQueue

Function Documentation

◆ GXSetMisc()

void GXSetMisc ( GXMiscToken token,
u32 val )

◆ GXFlush()

void GXFlush ( void )

◆ GXResetWriteGatherPipe()

void GXResetWriteGatherPipe ( void )

◆ __GXAbortWait()

void __GXAbortWait ( u32 clocks)
inlinestatic

◆ GXAbortFrame()

void GXAbortFrame ( void )

◆ GXSetDrawSync()

void GXSetDrawSync ( u16 token)

◆ GXReadDrawSync()

u16 GXReadDrawSync ( void )

◆ GXSetDrawDone()

void GXSetDrawDone ( void )

◆ GXWaitDrawDone()

void GXWaitDrawDone ( void )

◆ GXDrawDone()

void GXDrawDone ( void )

◆ GXPixModeSync()

void GXPixModeSync ( void )

◆ GXTexModeSync()

void GXTexModeSync ( void )

◆ GXPokeAlphaMode()

void GXPokeAlphaMode ( GXCompare func,
u8 threshold )

◆ GXPokeAlphaRead()

void GXPokeAlphaRead ( GXAlphaReadMode mode)

◆ GXPokeAlphaUpdate()

void GXPokeAlphaUpdate ( GXBool update_enable)

◆ GXPokeBlendMode()

void GXPokeBlendMode ( GXBlendMode type,
GXBlendFactor src_factor,
GXBlendFactor dst_factor,
GXLogicOp op )

◆ GXPokeColorUpdate()

void GXPokeColorUpdate ( GXBool update_enable)

◆ GXPokeDstAlpha()

void GXPokeDstAlpha ( GXBool enable,
u8 alpha )

◆ GXPokeDither()

void GXPokeDither ( GXBool dither)

◆ GXPokeZMode()

void GXPokeZMode ( GXBool compare_enable,
GXCompare func,
GXBool update_enable )

◆ GXPeekARGB()

void GXPeekARGB ( u16 x,
u16 y,
u32 * color )

◆ GXPokeARGB()

void GXPokeARGB ( u16 x,
u16 y,
u32 color )

◆ GXPeekZ()

void GXPeekZ ( u16 x,
u16 y,
u32 * z )

◆ GXPokeZ()

void GXPokeZ ( u16 x,
u16 y,
u32 z )

◆ GXSetDrawSyncCallback()

GXDrawSyncCallback GXSetDrawSyncCallback ( GXDrawSyncCallback cb)

◆ GXTokenInterruptHandler()

void GXTokenInterruptHandler ( __OSInterrupt interrupt,
OSContext * context )
static

◆ GXSetDrawDoneCallback()

GXDrawDoneCallback GXSetDrawDoneCallback ( GXDrawDoneCallback cb)

◆ GXFinishInterruptHandler()

void GXFinishInterruptHandler ( __OSInterrupt interrupt,
OSContext * context )
static

◆ __GXPEInit()

void __GXPEInit ( void )

◆ GXCompressZ16()

u32 GXCompressZ16 ( u32 z24,
GXZFmt16 zfmt )

◆ GXDecompressZ16()

u32 GXDecompressZ16 ( u32 z16,
GXZFmt16 zfmt )

Variable Documentation

◆ TokenCB

GXDrawSyncCallback TokenCB
static

◆ DrawDoneCB

GXDrawDoneCallback DrawDoneCB
static

◆ DrawDone

u8 DrawDone
static

◆ FinishQueue

OSThreadQueue FinishQueue
static