154
160
typedef void (*glXWaitVideoSync_func)( int divisor, int remainder, unsigned int *count );
155
161
extern KWIN_EXPORT glXGetVideoSync_func glXGetVideoSync;
156
162
extern KWIN_EXPORT glXWaitVideoSync_func glXWaitVideoSync;
163
// GLX_SGIX_fbconfig and misc GLX 1.3 stuff
164
typedef int (*glXGetFBConfigAttrib_func) ( Display *dpy, GLXFBConfig config,
165
int attribute, int *value );
166
typedef XVisualInfo* (*glXGetVisualFromFBConfig_func) ( Display *dpy, GLXFBConfig config );
167
extern KWIN_EXPORT glXGetFBConfigAttrib_func glXGetFBConfigAttrib;
168
extern KWIN_EXPORT glXGetVisualFromFBConfig_func glXGetVisualFromFBConfig;
169
typedef GLXWindow (*glXCreateWindow_func) ( Display *dpy, GLXFBConfig config,
170
Window win, const int *attribList );
171
typedef void (*glXDestroyWindow_func) ( Display *dpy, GLXWindow window );
172
typedef GLXPixmap (*glXCreatePixmap_func) ( Display *dpy, GLXFBConfig config,
173
Pixmap pixmap, const int *attribList );
174
typedef void (*glXDestroyPixmap_func) ( Display *dpy, GLXPixmap pixmap );
175
typedef GLXFBConfig* (*glXGetFBConfigs_func) ( Display *dpy, int screen, int *nelements );
176
extern KWIN_EXPORT glXCreateWindow_func glXCreateWindow;
177
extern KWIN_EXPORT glXDestroyWindow_func glXDestroyWindow;
178
extern KWIN_EXPORT glXCreatePixmap_func glXCreatePixmap;
179
extern KWIN_EXPORT glXDestroyPixmap_func glXDestroyPixmap;
180
extern KWIN_EXPORT glXGetFBConfigs_func glXGetFBConfigs;
157
182
// glActiveTexture
158
183
typedef void (*glActiveTexture_func)(GLenum);
159
184
extern KWIN_EXPORT glActiveTexture_func glActiveTexture;