~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to kwin/lib/kwinglutils_funcs.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-10-11 14:04:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071011140448-v0eb7lxbb24zagca
Tags: 3.94.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
#define GL_TEXTURE_RECTANGLE_ARB                        0x84F5
130
130
 
131
131
 
 
132
// GLX typedefs
 
133
typedef struct __GLXcontextRec *GLXContext;
 
134
/* GLX 1.3 and later */
 
135
typedef struct __GLXFBConfigRec *GLXFBConfig;
 
136
 
 
137
// GL typedefs
132
138
typedef char GLchar;
133
139
 
134
140
// Function pointers
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;
 
181
 
157
182
// glActiveTexture
158
183
typedef void (*glActiveTexture_func)(GLenum);
159
184
extern KWIN_EXPORT glActiveTexture_func glActiveTexture;