wut  v1.7.0
Wii U Toolchain
display.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "enum.h"
4 #include "surface.h"
5 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef void (*GX2DRCConnectCallback)(uint32_t drcSlot, BOOL attached);
17 
18 void
20 
21 void
23 
24 void
26  GX2SurfaceFormat surfaceFormat,
27  GX2BufferingMode bufferingMode,
28  uint32_t *size,
29  uint32_t *unkOut);
30 
31 void
33  GX2SurfaceFormat surfaceFormat,
34  GX2BufferingMode bufferingMode,
35  uint32_t *size,
36  uint32_t *unkOut);
37 
38 void
39 GX2SetTVBuffer(void *buffer,
40  uint32_t size,
41  GX2TVRenderMode tvRenderMode,
42  GX2SurfaceFormat surfaceFormat,
43  GX2BufferingMode bufferingMode);
44 
45 void
46 GX2SetDRCBuffer(void *buffer,
47  uint32_t size,
48  GX2DrcRenderMode drcRenderMode,
49  GX2SurfaceFormat surfaceFormat,
50  GX2BufferingMode bufferingMode);
51 
52 void
53 GX2SetTVScale(uint32_t x,
54  uint32_t y);
55 
56 void
57 GX2SetDRCScale(uint32_t x,
58  uint32_t y);
59 
62 
65 
68 
71 
73 GX2SetDRCConnectCallback(uint32_t drcSlot,
74  GX2DRCConnectCallback callback);
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
void GX2CalcTVSize(GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
GX2DrcRenderMode GX2GetSystemDRCMode()
void GX2SetTVEnable(BOOL enable)
void GX2SetTVScale(uint32_t x, uint32_t y)
GX2AspectRatio GX2GetSystemTVAspectRatio()
void GX2SetDRCEnable(BOOL enable)
void GX2SetTVBuffer(void *buffer, uint32_t size, GX2TVRenderMode tvRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
GX2DrcRenderMode GX2GetSystemDRCScanMode()
void GX2CalcDRCSize(GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode, uint32_t *size, uint32_t *unkOut)
void GX2SetDRCBuffer(void *buffer, uint32_t size, GX2DrcRenderMode drcRenderMode, GX2SurfaceFormat surfaceFormat, GX2BufferingMode bufferingMode)
void GX2SetDRCScale(uint32_t x, uint32_t y)
void(* GX2DRCConnectCallback)(uint32_t drcSlot, BOOL attached)
Definition: display.h:16
GX2TVScanMode GX2GetSystemTVScanMode()
GX2DRCConnectCallback GX2SetDRCConnectCallback(uint32_t drcSlot, GX2DRCConnectCallback callback)
GX2BufferingMode
Definition: enum.h:145
GX2TVRenderMode
Definition: enum.h:603
GX2SurfaceFormat
Definition: enum.h:427
GX2DrcRenderMode
Definition: enum.h:192
GX2TVScanMode
Definition: enum.h:612
GX2AspectRatio
Definition: enum.h:47
int32_t BOOL
Definition: wut_types.h:7