QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gl_stub.c File Reference

Macros

#define NUM_FUNCS   (sizeof (gl_stub_funcs) / sizeof (gl_stub_funcs[0]))
 
#define QFGL_DONT_NEED(ret, func, params)   QFGL_NEED(ret, func, params)
 
#define QFGL_NEED(ret, name, args)   ret GLAPIENTRY norm_##name args;
 
#define QFGL_NEED(ret, name, args)   ret GLAPIENTRY trace_##name args;
 
#define QFGL_NEED(ret, name, args)   {#name, norm_##name, trace_##name},
 
#define QFGL_WANT(ret, name, args)   ret GLAPIENTRY norm_##name args;
 
#define QFGL_WANT(ret, name, args)   ret GLAPIENTRY trace_##name args;
 
#define QFGL_WANT(ret, name, args)   {#name, norm_##name, trace_##name},
 
#define TRACE
 

Typedefs

typedef struct __GLXcontextRec * GLXContext
 
typedef XID GLXDrawable
 

Functions

XVisualInfo * glXChooseVisual (Display *dpy, int screen, int *attribList)
 
GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
 
void glXDestroyContext (Display *dpy, GLXContext ctx)
 
int glXGetConfig (Display *dpy, XVisualInfo *visual, int attrib, int *value)
 
void * glXGetProcAddressARB (const GLubyte *procName)
 
Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx)
 
void glXSwapBuffers (Display *dpy, GLXDrawable drawable)
 

Macro Definition Documentation

#define NUM_FUNCS   (sizeof (gl_stub_funcs) / sizeof (gl_stub_funcs[0]))
#define QFGL_DONT_NEED (   ret,
  func,
  params 
)    QFGL_NEED(ret, func, params)
#define QFGL_NEED (   ret,
  name,
  args 
)    ret GLAPIENTRY norm_##name args;
#define QFGL_NEED (   ret,
  name,
  args 
)    ret GLAPIENTRY trace_##name args;
#define QFGL_NEED (   ret,
  name,
  args 
)    {#name, norm_##name, trace_##name},
#define QFGL_WANT (   ret,
  name,
  args 
)    ret GLAPIENTRY norm_##name args;
#define QFGL_WANT (   ret,
  name,
  args 
)    ret GLAPIENTRY trace_##name args;
#define QFGL_WANT (   ret,
  name,
  args 
)    {#name, norm_##name, trace_##name},
#define TRACE
Value:
do { \
puts (__FUNCTION__);\
} while (0)
#define puts(s)
Definition: fbset.c:209

Typedef Documentation

typedef struct __GLXcontextRec* GLXContext
typedef XID GLXDrawable

Function Documentation

XVisualInfo* glXChooseVisual ( Display *  dpy,
int  screen,
int attribList 
)
GLXContext glXCreateContext ( Display *  dpy,
XVisualInfo *  vis,
GLXContext  shareList,
Bool  direct 
)
void glXDestroyContext ( Display *  dpy,
GLXContext  ctx 
)
int glXGetConfig ( Display *  dpy,
XVisualInfo *  visual,
int  attrib,
int value 
)
void* glXGetProcAddressARB ( const GLubyte procName)
Bool glXMakeCurrent ( Display *  dpy,
GLXDrawable  drawable,
GLXContext  ctx 
)
void glXSwapBuffers ( Display *  dpy,
GLXDrawable  drawable 
)