wut/include/gx2/display.h

72 lines
1.3 KiB
C
Raw Normal View History

2016-01-08 17:38:38 +01:00
#pragma once
#include <wut.h>
#include "enum.h"
2016-01-08 17:38:38 +01:00
#include "surface.h"
/**
* \defgroup gx2_display Display
* \ingroup gx2
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
void
GX2SetTVEnable(BOOL enable);
void
GX2SetDRCEnable(BOOL enable);
void
GX2CalcTVSize(GX2TVRenderMode tvRenderMode,
GX2SurfaceFormat surfaceFormat,
GX2BufferingMode bufferingMode,
uint32_t *size,
uint32_t *unkOut);
void
GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode,
GX2SurfaceFormat surfaceFormat,
GX2BufferingMode bufferingMode,
uint32_t *size,
uint32_t *unkOut);
void
GX2SetTVBuffer(void *buffer,
uint32_t size,
GX2TVRenderMode tvRenderMode,
GX2SurfaceFormat surfaceFormat,
GX2BufferingMode bufferingMode);
void
GX2SetDRCBuffer(void *buffer,
uint32_t size,
GX2DrcRenderMode drcRenderMode,
GX2SurfaceFormat surfaceFormat,
GX2BufferingMode bufferingMode);
void
GX2SetTVScale(uint32_t x,
uint32_t y);
void
GX2SetDRCScale(uint32_t x,
uint32_t y);
GX2TVScanMode
GX2GetSystemTVScanMode();
GX2TVScanMode
GX2GetSystemDRCScanMode();
2016-01-08 17:38:38 +01:00
GX2DrcRenderMode
GX2GetSystemDRCMode();
#ifdef __cplusplus
}
#endif
/** @} */