mirror of https://github.com/PrimeDecomp/prime.git
31 lines
906 B
C
31 lines
906 B
C
|
#ifndef DOLPHIN_GXFRAMEBUFFER_H
|
||
|
#define DOLPHIN_GXFRAMEBUFFER_H
|
||
|
|
||
|
#include <dolphin/gx/GXEnum.h>
|
||
|
#include <dolphin/gx/GXStruct.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#define GX_MAX_Z24 0x00FFFFFF
|
||
|
|
||
|
void GXSetCopyClear(GXColor clear_clr, u32 clear_z);
|
||
|
void GXAdjustForOverscan(GXRenderModeObj* rmin, GXRenderModeObj* rmout, u16 hor, u16 ver);
|
||
|
void GXCopyDisp(void* dest, GXBool clear);
|
||
|
void GXSetDispCopyGamma(GXGamma gamma);
|
||
|
void GXSetDispCopySrc(u16 left, u16 top, u16 wd, u16 ht);
|
||
|
void GXSetDispCopyDst(u16 wd, u16 ht);
|
||
|
u32 GXSetDispCopyYScale(f32 vscale);
|
||
|
void GXSetCopyFilter(GXBool aa, u8 sample_pattern[12][2], GXBool vf, u8 vfilter[7]);
|
||
|
void GXSetPixelFmt(GXPixelFmt pix_fmt, GXZFmt16 z_fmt);
|
||
|
void GXSetTexCopySrc(u16 left, u16 top, u16 wd, u16 ht);
|
||
|
void GXSetTexCopyDst(u16 wd, u16 ht, GXTexFmt fmt, GXBool mipmap);
|
||
|
void GXCopyTex(void* dest, GXBool clear);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|