TinyGL 0.4.1 for MinGW
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
~
Functions
a
b
d
e
f
g
h
l
m
r
s
u
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
c
d
e
f
g
h
k
l
m
n
p
s
t
u
w
x
Typedefs
g
n
p
z
Enumerations
Enumerator
g
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
TinyGL.MinGW-master
include
GL
gdi.h
Go to the documentation of this file.
1
#ifndef _tinygl_GDI_H
2
#define _tinygl_GDI_H
3
4
5
#include <
GL/gl.h
>
6
7
#ifdef __cplusplus
8
extern
"C"
{
9
#endif
10
11
typedef
void
*
GDIContext
;
12
13
extern
GDIContext
gdiCreateContext
(
GDIContext
shareList,
int
flags );
14
15
extern
void
gdiDestroyContext
(
GDIContext
ctx );
16
17
extern
int
gdiMakeCurrent
( HWND drawable,
GDIContext
ctx,
int
width,
int
height );
18
19
extern
void
gdiSwapBuffers
( HWND drawable );
20
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
27
#define MWPF_TRUECOLOR565 99
28
29
#endif
//_tinygl_GDI_H
gdiDestroyContext
void gdiDestroyContext(GDIContext ctx)
Definition:
gdi.c:49
gdiCreateContext
GDIContext gdiCreateContext(GDIContext shareList, int flags)
Definition:
gdi.c:34
gdiSwapBuffers
void gdiSwapBuffers(HWND drawable)
Definition:
gdi.c:171
GDIContext
void * GDIContext
Definition:
gdi.h:11
gdiMakeCurrent
int gdiMakeCurrent(HWND drawable, GDIContext ctx, int width, int height)
Definition:
gdi.c:109
gl.h
Generated by
1.9.2