This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathvidext.h
More file actions
34 lines (29 loc) · 1.26 KB
/
vidext.h
File metadata and controls
34 lines (29 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef VIDEXT_H
#define VIDEXT_H
#include "m64p_types.h"
#ifdef __cplusplus
#include "vkwindow.h"
extern "C"
{
#endif
m64p_error qtVidExtFuncInit(void);
m64p_error qtVidExtFuncInitWithRenderMode(m64p_render_mode RenderMode);
m64p_error qtVidExtFuncQuit(void);
m64p_error qtVidExtFuncListModes(m64p_2d_size *SizeArray, int *NumSizes);
m64p_error qtVidExtFuncListRates(m64p_2d_size Size, int *NumRates, int *Rates);
m64p_error qtVidExtFuncSetMode(int Width, int Height, int, int, int);
m64p_error qtVidExtFuncSetModeWithRate(int Width, int Height, int RefreshRate, int BitsPerPixel, int ScreenMode, int Flags);
m64p_function qtVidExtFuncGLGetProc(const char *Proc);
m64p_error qtVidExtFuncGLSetAttr(m64p_GLattr Attr, int Value);
m64p_error qtVidExtFuncGLGetAttr(m64p_GLattr Attr, int *pValue);
m64p_error qtVidExtFuncGLSwapBuf(void);
m64p_error qtVidExtFuncSetCaption(const char *_title);
m64p_error qtVidExtFuncToggleFS(void);
m64p_error qtVidExtFuncResizeWindow(int, int);
uint32_t qtVidExtFuncGLGetDefaultFramebuffer(void);
m64p_error qtVidExtFuncGetVkSurface(void **surface, void *instance);
m64p_error qtVidExtFuncGetVkInstExtensions(const char **[], uint32_t *);
#ifdef __cplusplus
}
#endif
#endif // VIDEXT_H