1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
disp__glXWaitGL = (void (CALLBACK *)( void ))
GET_GL_PROCADDRESS("glXWaitGL");
disp__glXDestroyGLXPixmap = (void (CALLBACK *)( Display *, GLXPixmap))
GET_GL_PROCADDRESS("glXDestroyGLXPixmap");
disp__glXQueryExtension = (Bool (CALLBACK *)( Display *, int *, int *))
GET_GL_PROCADDRESS("glXQueryExtension");
disp__glXGetClientString = (const char * (CALLBACK *)( Display *, int ))
GET_GL_PROCADDRESS("glXGetClientString");
disp__glXCreateGLXPixmap = (GLXPixmap (CALLBACK *)( Display *, XVisualInfo *, Pixmap))
GET_GL_PROCADDRESS("glXCreateGLXPixmap");
disp__glXChooseVisual = (XVisualInfo* (CALLBACK *) (Display *, int , int *))
GET_GL_PROCADDRESS("glXChooseVisual");
disp__glXCreateContext = (GLXContext (CALLBACK *) (Display *, XVisualInfo *, GLXContext, Bool))
GET_GL_PROCADDRESS("glXCreateContext");
disp__glXGetCurrentContext = (GLXContext (CALLBACK *) ())
GET_GL_PROCADDRESS("glXGetCurrentContext");
disp__glXDestroyContext = (void (CALLBACK *) (Display *, GLXContext))
GET_GL_PROCADDRESS("glXDestroyContext");
disp__glXGetConfig = (int (CALLBACK *) (Display *, XVisualInfo *, int, int *))
GET_GL_PROCADDRESS("glXGetConfig");
disp__glXMakeCurrent = (Bool (CALLBACK *) (Display *, GLXDrawable, GLXContext))
GET_GL_PROCADDRESS("glXMakeCurrent");
disp__glXSwapBuffers = (void (CALLBACK *) (Display *, GLXDrawable))
GET_GL_PROCADDRESS("glXSwapBuffers");
/* NVidia support */
disp__glXAllocateMemoryNV = (void* (CALLBACK * )(int, float, float, float))
GET_GL_PROCADDRESS("glXAllocateMemoryNV");
disp__glXFreeMemoryNV = (void (CALLBACK * )(void*))
GET_GL_PROCADDRESS("glXFreeMemoryNV");
|