sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
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
25extern "C" {
26#endif
27
28
30void gsKit_hires_sync(GSGLOBAL *gsGlobal);
31
33void gsKit_hires_flip(GSGLOBAL *gsGlobal);
34
36void gsKit_hires_flip_ext(GSGLOBAL *gsGlobal, GSFLIP_MODE mode);
37
39void gsKit_hires_prepare_bg(GSGLOBAL *gsGlobal, GSTEXTURE * tex);
40
42int gsKit_hires_set_bg(GSGLOBAL *gsGlobal, GSTEXTURE * tex);
43
45void gsKit_hires_init_screen(GSGLOBAL *gsGlobal, int passCount);
46
48GSGLOBAL *gsKit_hires_init_global();
49
52
53
54#ifdef __cplusplus
55}
56#endif
57
58
59#endif /* __GSHIRES_H__ */
GSFLIP_MODE
Flip mode for gsKit_hires_flip_ext.
Definition gsCore.h:90
void gsKit_hires_flip_ext(GSGLOBAL *gsGlobal, GSFLIP_MODE mode)
Flips Draw Queue with specified flip mode.
Definition gsHires.c:238
void gsKit_hires_flip(GSGLOBAL *gsGlobal)
Flips Draw Queue.
Definition gsHires.c:230
void gsKit_hires_sync(GSGLOBAL *gsGlobal)
Wait for VSync.
Definition gsHires.c:220
int gsKit_hires_set_bg(GSGLOBAL *gsGlobal, GSTEXTURE *tex)
Set background texture, must be same size and PSM as display.
Definition gsHires.c:322
void gsKit_hires_prepare_bg(GSGLOBAL *gsGlobal, GSTEXTURE *tex)
Converts PSM and interlacing for use as background image.
Definition gsHires.c:307
GSGLOBAL * gsKit_hires_init_global()
Initialize gsGlobal.
Definition gsHires.c:669
void gsKit_hires_deinit_global(GSGLOBAL *gsGlobal)
De-initialize gsGlobal.
Definition gsHires.c:674
void gsKit_hires_init_screen(GSGLOBAL *gsGlobal, int passCount)
Initialize Screen and GS Registers, for multi pass high resolution mode.
Definition gsHires.c:456