ReactOS
0.4.16-dev-976-g18fc5a1
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
api.h
Go to the documentation of this file.
1
/* $Id: api.h,v 1.4 1998/02/04 00:38:24 brianp Exp $ */
2
3
/*
4
* Mesa 3-D graphics library
5
* Version: 2.4
6
* Copyright (C) 1995-1997 Brian Paul
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
17
*
18
* You should have received a copy of the GNU Library General Public
19
* License along with this library; if not, write to the Free
20
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
*/
22
23
24
/*
25
* $Log: api.h,v $
26
* Revision 1.4 1998/02/04 00:38:24 brianp
27
* WIN32 patch from Oleg Letsinsky
28
*
29
* Revision 1.3 1998/02/04 00:13:35 brianp
30
* updated for Cygnus (Stephane Rehel)
31
*
32
* Revision 1.2 1997/11/25 03:20:09 brianp
33
* simple clean-ups for multi-threading (John Stone)
34
*
35
* Revision 1.1 1997/08/22 01:42:26 brianp
36
* Initial revision
37
*
38
*/
39
40
41
/*
42
* The original api.c file has been split into two files: api1.c and api2.c
43
* because some compilers complained that api.c was too big.
44
*
45
* This header contains stuff only included by api1.c and api2.c
46
*/
47
48
49
#ifndef API_H
50
#define API_H
51
52
53
/*
54
* Single/multiple thread context selection.
55
*/
56
#ifdef THREADS
57
58
/* Get the context associated with the calling thread */
59
#define GET_CONTEXT GLcontext *CC = gl_get_thread_context()
60
61
#else
62
63
/* CC is a global pointer for all threads in the address space */
64
#define GET_CONTEXT
65
66
#endif
/* THREADS */
67
68
69
/*
70
* An optimization in a few performance-critical functions.
71
*/
72
#define SHORTCUT
73
74
75
/*
76
* Windows 95/NT DLL stuff.
77
*/
78
#if !defined(WIN32) && !defined(WINDOWS_NT) && !defined(__CYGWIN32__)
79
#define APIENTRY
80
#endif
81
82
83
#endif
dll
opengl
mesa
api.h
Generated on Sat Apr 12 2025 06:16:44 for ReactOS by
1.9.6