mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
72 lines
1.3 KiB
C
72 lines
1.3 KiB
C
#pragma once
|
|
#include <wut.h>
|
|
#include "enum.h"
|
|
#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();
|
|
|
|
GX2DrcRenderMode
|
|
GX2GetSystemDRCScanMode();
|
|
|
|
GX2DrcRenderMode
|
|
GX2GetSystemDRCMode();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|