Glide Plugin GLES2 port from mupen64plus-ae, but with special FrameSkip code
[mupen64plus-pandora.git] / source / gles2glide64 / src / Glitch64 / inc / sst1vid.h
CommitLineData
98e75f2d 1/*
2** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
3** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
4** TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX
5** INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE
6** DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC(info@3dfx.com).
7** THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
8** EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A
9** FULL TEXT OF THE NON-WARRANTY PROVISIONS.
10**
11** USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO
12** RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN
13** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013,
14** AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR
15** SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF
16** THE UNITED STATES.
17**
18** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
19**
20** $Header: /cvsroot/glide/glide3x/h5/incsrc/sst1vid.h,v 1.3.4.1 2003/04/06 18:23:10 koolsmoky Exp $
21** $Log:
22** 7 3dfx 1.4.1.0.1.0 10/11/00 Brent Forced check in to enforce
23** branching.
24** 6 3dfx 1.4.1.0 06/20/00 Joseph Kain Changes to support the
25** Napalm Glide open source release. Changes include cleaned up offensive
26** comments and new legal headers.
27** 5 3dfx 1.4 12/10/99 Leo Galway Removed previous hi-res
28** mode information for Glide3. These modes were only necessary for
29** Cornerstone (or future hi-res) support in RT4.2 source branch and
30** proceeded to break the V3 and V2 builds (from 3dfx view), hence they have
31** been removed.
32** 4 3dfx 1.3 12/08/99 Leo Galway Added mode information for
33** 1600x1280, 1792x1440, 1920x1080, 1920x1200, 2046x1536 (as a result of
34** glide being tested with Cornerstone modes). Although not all of these
35** modes are currently capable under Glide, their inclusion prevents Glide
36** apps from displaying in incorrect modes when these hi-res modes are
37** selected. Search for SUSTAINED_ENGINEERING_CHANGE_BEGIN.
38** 3 3dfx 1.2 09/17/99 Jeremy Zelsnack
39** 2 3dfx 1.1 09/17/99 Jeremy Zelsnack
40** 1 3dfx 1.0 09/11/99 StarTeam VTS Administrator
41** $
42**
43** 8 3/04/99 1:19p Atai
44** sync new res modes
45**
46** 10 2/27/99 12:28p Dow
47** new resolutions
48**
49** 6 2/13/99 1:56p Dow
50** Added new resolution constants
51**
52** 5 7/24/98 1:38p Hohn
53 *
54 * 4 9/09/97 7:35p Sellers
55 * Added 400x300 resolution
56 *
57 * 3 8/24/97 9:31a Sellers
58 * moved new video timing to sst1vid.h
59 * redefined 1600x1280 to be 1600x1200
60 *
61 * 2 6/05/97 11:14p Pgj
62 *
63 * 5 7/24/96 3:43p Sellers
64 * added 512x384 @ 60 Hz for arcade monitors
65 * added 512x256 @ 60 Hz for arcade monitors
66 *
67 * 4 7/18/96 10:58a Sellers
68 * fixed FT and TF clock delay values for lower frequencies with
69 * .5/.5 combos
70 *
71 * 3 6/18/96 6:54p Sellers
72 * added sst1InitShutdownSli() to fix Glide Splash screen problems with
73 * SLI
74 *
75 * 2 6/13/96 7:45p Sellers
76 * added "voodoo.ini" support
77 * added DirectX support
78 * misc cleanup
79 *
80 * 2 6/11/96 1:43p Sellers
81 * added support for 60, 75, 85, and 120 Hz refresh rates for "most"
82 * resolutions
83 *
84 * 1 5/08/96 5:43p Paik
85 * Video definitions
86*/
87#ifndef __SST1VID_H__
88#define __SST1VID_H__
89
90#ifdef __cplusplus
91extern "C" {
92#endif
93
94/* Video defines */
95
96typedef FxI32 GrScreenRefresh_t;
97#define GR_REFRESH_60Hz 0x0
98#define GR_REFRESH_70Hz 0x1
99#define GR_REFRESH_72Hz 0x2
100#define GR_REFRESH_75Hz 0x3
101#define GR_REFRESH_80Hz 0x4
102#define GR_REFRESH_90Hz 0x5
103#define GR_REFRESH_100Hz 0x6
104#define GR_REFRESH_85Hz 0x7
105#define GR_REFRESH_120Hz 0x8
106#define GR_REFRESH_NONE 0xff
107
108typedef FxI32 GrScreenResolution_t;
109#define GR_RESOLUTION_320x200 0x0
110#define GR_RESOLUTION_320x240 0x1
111#define GR_RESOLUTION_400x256 0x2
112#define GR_RESOLUTION_512x384 0x3
113#define GR_RESOLUTION_640x200 0x4
114#define GR_RESOLUTION_640x350 0x5
115#define GR_RESOLUTION_640x400 0x6
116#define GR_RESOLUTION_640x480 0x7
117#define GR_RESOLUTION_800x600 0x8
118#define GR_RESOLUTION_960x720 0x9
119#define GR_RESOLUTION_856x480 0xa
120#define GR_RESOLUTION_512x256 0xb
121#define GR_RESOLUTION_1024x768 0xC
122#define GR_RESOLUTION_1280x1024 0xD
123#define GR_RESOLUTION_1600x1200 0xE
124#define GR_RESOLUTION_400x300 0xF
125#define GR_RESOLUTION_1152x864 0x10
126#define GR_RESOLUTION_1280x960 0x11
127#define GR_RESOLUTION_1600x1024 0x12
128#define GR_RESOLUTION_1792x1344 0x13
129#define GR_RESOLUTION_1856x1392 0x14
130#define GR_RESOLUTION_1920x1440 0x15
131#define GR_RESOLUTION_2048x1536 0x16
132#define GR_RESOLUTION_2048x2048 0x17
133#define GR_RESOLUTION_NONE 0xff
134
135#ifdef GR_RESOLUTION_MAX
136#undef GR_RESOLUTION_MAX
137#endif
138#ifdef GR_RESOLUTION_MIN
139#undef GR_RESOLUTION_MIN
140#endif
141#define GR_RESOLUTION_MIN GR_RESOLUTION_320x200
142#define GR_RESOLUTION_MAX GR_RESOLUTION_2048x2048
143
144#ifdef __cplusplus
145}
146#endif
147
148#endif /* __SST1VID_H__ */