aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/glx-disp-fetch.hc
blob: 75f823885b3ac8f18c03dcd0dd16e343682536c5 (plain)
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
44
45
46
47
48
49
/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!

   DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
*/



    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");