Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

gfx/cutils.h

Go to the documentation of this file.
00001 #ifndef _GFX_CUTILS_H_
00002 #define _GFX_CUTILS_H_
00003 
00004 #include <X11/X.h>
00005 #include <X11/Xlib.h>
00006 #include <X11/Xatom.h>
00007 #include <X11/Xutil.h>
00008 #include <GL/gl.h>
00009 
00010 // function to return visual->class, because class is a c++
00011 //  keyword, we can access the field!
00012 int getVisualInfoClass(XVisualInfo* visual); 
00013 
00014 
00015 
00016 // Until nVidia includes these in libGL.so
00017 // (an SGI GLX extension)
00018 
00019 int glXBindChannelToWindowSGIX( Display *display,
00020         int screen,
00021         int channel,
00022         Window window );
00023 
00024 int glXChannelRectSGIX(  Display *display,
00025         int screen,
00026         int channel,
00027         int x,
00028         int y,
00029         int w,
00030         int h );
00031 
00032 int glXQueryChannelRectSGIX( Display *display,
00033         int screen,
00034         int channel,
00035         int *dx,
00036         int *dy,
00037         int *dw,
00038         int *dh );
00039 
00040 int glXQueryChannelDeltasSGIX( Display *display,
00041         int screen,
00042         int channel,
00043         int *x,
00044         int *y,
00045         int *w,
00046         int *h );
00047 
00048 
00049 int glXChannelRectSyncSGIX( Display *display,
00050         int screen,
00051         int channel,
00052         GLenum synctype);
00053 
00054 
00055 
00056 
00057 #endif

Generated on Thu Jul 29 15:56:18 2004 for OpenSim by doxygen 1.3.6