sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
gsHires.h
Go to the documentation of this file.
1
5
// ____ ___ | / _____ _____
6
// | __ | |___/ | |
7
// |___| ___| | \ __|__ | gsKit Open Source Project.
8
// ----------------------------------------------------------------------
9
// Copyright 2017 - Rick "Maximus32" Gaiser <rgaiser@gmail.com>
10
// Copyright 2004 - Chris "Neovanglist" Gilbert <Neovanglist@LainOS.org>
11
// Licenced under Academic Free License version 2.0
12
// Review gsKit README & LICENSE files for further details.
13
//
14
// gsHires.h - Header for gsHires.c
15
//
16
17
#ifndef __GSHIRES_H__
18
#define __GSHIRES_H__
19
20
21
#include "
gsKit.h
"
22
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
30
void
gsKit_hires_sync
(GSGLOBAL *
gsGlobal
);
31
33
void
gsKit_hires_flip
(GSGLOBAL *
gsGlobal
);
34
36
void
gsKit_hires_flip_ext
(GSGLOBAL *
gsGlobal
,
GSFLIP_MODE
mode);
37
39
void
gsKit_hires_prepare_bg
(GSGLOBAL *
gsGlobal
, GSTEXTURE * tex);
40
42
int
gsKit_hires_set_bg
(GSGLOBAL *
gsGlobal
, GSTEXTURE * tex);
43
45
void
gsKit_hires_init_screen
(GSGLOBAL *
gsGlobal
,
int
passCount);
46
48
GSGLOBAL *
gsKit_hires_init_global
();
49
51
void
gsKit_hires_deinit_global
(GSGLOBAL *
gsGlobal
);
52
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
59
#endif
/* __GSHIRES_H__ */
GSFLIP_MODE
GSFLIP_MODE
Flip mode for gsKit_hires_flip_ext.
Definition
gsCore.h:90
gsKit_hires_flip_ext
void gsKit_hires_flip_ext(GSGLOBAL *gsGlobal, GSFLIP_MODE mode)
Flips Draw Queue with specified flip mode.
Definition
gsHires.c:238
gsKit_hires_flip
void gsKit_hires_flip(GSGLOBAL *gsGlobal)
Flips Draw Queue.
Definition
gsHires.c:230
gsKit_hires_sync
void gsKit_hires_sync(GSGLOBAL *gsGlobal)
Wait for VSync.
Definition
gsHires.c:220
gsKit_hires_set_bg
int gsKit_hires_set_bg(GSGLOBAL *gsGlobal, GSTEXTURE *tex)
Set background texture, must be same size and PSM as display.
Definition
gsHires.c:322
gsKit_hires_prepare_bg
void gsKit_hires_prepare_bg(GSGLOBAL *gsGlobal, GSTEXTURE *tex)
Converts PSM and interlacing for use as background image.
Definition
gsHires.c:307
gsKit_hires_init_global
GSGLOBAL * gsKit_hires_init_global()
Initialize gsGlobal.
Definition
gsHires.c:669
gsKit_hires_deinit_global
void gsKit_hires_deinit_global(GSGLOBAL *gsGlobal)
De-initialize gsGlobal.
Definition
gsHires.c:674
gsKit_hires_init_screen
void gsKit_hires_init_screen(GSGLOBAL *gsGlobal, int passCount)
Initialize Screen and GS Registers, for multi pass high resolution mode.
Definition
gsHires.c:456
gsKit.h
gsGlobal
Definition
gsInit.h:900
gskit
include
gsHires.h
Generated by
1.18.0